pwshguy (mdowst)M to PowershellEnglish · 1 year agoUsing Enums in PowerShellwww.onsb.coexternal-linkmessage-square1fedilinkarrow-up18arrow-down10file-text
arrow-up18arrow-down1external-linkUsing Enums in PowerShellwww.onsb.copwshguy (mdowst)M to PowershellEnglish · 1 year agomessage-square1fedilinkfile-text
Enums were introduced to PowerShell in version 5.0 and can be used as a simple way to validate script and parameter input.
minus-squarediscussededlinkfedilinkarrow-up2·1 year agoNice, 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!
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!