PowerShell Tip#1: Get Enum Values

To get all possible enum values you can follow this blog post from PowerShellMagazine.

To make things even easier, you can call GetEnumValues() directly on the returned object from GetType().

Get Enum Values in Action

Author

  • Kai

    Hello you! My name is Kai Boschung and I live with my girl Dominique and our dog Nikita close to Bern, Switzerland.I work at Experts Inside and founded together with compadres the IoT consulting firm appery.

Leave a Reply