Suggestion: implement ternary conditionals · Issue #3239 · PowerShell/PowerShell

C-style ternary conditionals would be a handy addition to the language. For instance, instead of writing: if ((get-date).tostring("ss") % 2) { 'odd' } else { 'even' } one ...