PowerShell - Cross-Platform PowerShellWhat is the default shell environment when you install PowerShell on macOS?AfishBpwsh (PowerShell Core)CzshDbashCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand PowerShell installation on macOSPowerShell Core is installed as the default shell named 'pwsh' on macOS.Step 2: Identify the default shell after installationUnlike bash or zsh, PowerShell uses 'pwsh' as its executable shell environment.Final Answer:pwsh (PowerShell Core) -> Option BQuick Check:Default PowerShell shell = pwsh [OK]Quick Trick: PowerShell on macOS runs with 'pwsh' command by default [OK]Common Mistakes:Confusing macOS default shell with PowerShell shellAssuming bash is default PowerShell shellUsing 'powershell' instead of 'pwsh'
Master "Cross-Platform PowerShell" in PowerShell9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More PowerShell Quizzes Active Directory - Organizational unit operations - Quiz 3easy Active Directory - AD module installation - Quiz 9hard Active Directory - AD module installation - Quiz 5medium Active Directory - New-ADUser and Set-ADUser - Quiz 6medium Cross-Platform PowerShell - Platform-specific considerations - Quiz 14medium Cross-Platform PowerShell - Platform-specific considerations - Quiz 13medium Remote Management - Why remote execution scales management - Quiz 8hard Remote Management - Invoke-Command - Quiz 5medium Scripting Best Practices - Pester testing framework basics - Quiz 13medium Scripting Best Practices - Verbose and debug output - Quiz 8hard