PowerShell - Operators
What will be the output of this PowerShell script?
$x = $false
$y = $true
if (-not $x -and $y) { 'Pass' } else { 'Fail' }
$x = $false
$y = $true
if (-not $x -and $y) { 'Pass' } else { 'Fail' }
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions