Using Enums in PowerShell
Using Enums in PowerShell

www.onsb.co
Using Enums in PowerShell

Enums were introduced to PowerShell in version 5.0 and can be used as a simple way to validate script and parameter input.
Using Enums in PowerShell
Using Enums in PowerShell
Enums were introduced to PowerShell in version 5.0 and can be used as a simple way to validate script and parameter input.
Nice, I've been getting into the .net method calls and this fits right in with the style. I have a number of scripts I can use this in right away so thanks for the article!