Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 519 Bytes

File metadata and controls

8 lines (8 loc) · 519 Bytes

PowerShell edition: unknown — assume Windows PowerShell 5.1 for compatibility

  • Do NOT use &&, ||, ternary ?:, null-coalescing ??, or null-conditional ?.. These are PowerShell 7+ only and parser-error on 5.1.
  • To chain commands conditionally: A; if ($?) { B }. Unconditionally: A; B.