PowerShell - Cross-Platform PowerShell
What will be the output of this PowerShell command run on macOS terminal?
pwsh -Command "Write-Output 'Hello macOS'"
pwsh -Command "Write-Output 'Hello macOS'"
pwsh -Command to run a PowerShell command inline, which outputs the string 'Hello macOS'.Write-Output cmdlet prints the string to the terminal, so the output will be exactly 'Hello macOS'.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions