Skip to content

Instantly share code, notes, and snippets.

@PlagueHO
Created August 18, 2019 08:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PlagueHO/e450a6814e7c5881fd7552f2c9a86b14 to your computer and use it in GitHub Desktop.
Save PlagueHO/e450a6814e7c5881fd7552f2c9a86b14 to your computer and use it in GitHub Desktop.
Null Coalescing Operator In PowerShell
$notNull = ($x, $y, 1 -ne $null)[0] # Null Coalescing in PowerShell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment