Powershell Tip #112: Get int values from Enum

By | August 16, 2016

Tip: You can see the int value from a value of an Enum.

system-io-fileattributes-enum

Single value 

powershell-get-int-value-from-enum-single-value

All values

powershell-get-int-value-from-enum-multiple-values

 


previous-buttonnext-button

One thought on “Powershell Tip #112: Get int values from Enum

  1. Pingback: Powershell Tip #111: Get names and values of Enum | Powershell Guru

Leave a Reply

Your email address will not be published. Required fields are marked *