Ternary Operator in PowerShell
Contents
I’m very noob .Net C# developer, but I remember this:
|
|
I want the same thing in PowerShell, here we go:
|
|
Sample:
|
|
Which I came up with a more readable and something easy to memory:
|
|
Happy scripting….
I’m very noob .Net C# developer, but I remember this:
|
|
I want the same thing in PowerShell, here we go:
|
|
Sample:
|
|
Which I came up with a more readable and something easy to memory:
|
|
Happy scripting….