PowerShell - Operators
Identify the error in this PowerShell ternary expression:
$x = 5
$result = $x -gt 3 ? 'High' 'Low'
$x = 5
$result = $x -gt 3 ? 'High' 'Low'
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions