PowerShell - Cross-Platform PowerShell
What will be the output of this PowerShell script when run on macOS?
if ($IsWindows) { Write-Output 'Windows' } elseif ($IsLinux) { Write-Output 'Linux' } elseif ($IsMacOS) { Write-Output 'MacOS' } else { Write-Output 'Unknown' }