Windows Management User Group

PowerShell – Get-EnumValue function to get possible values of properties / attributes

By Bjorn Houben

In my previous blog post I blogged about how to get the possible values of an attribute or property like by example the service starttype using enumerators.

For future use I’ve created this function called Get-EnumValue. The function (and any updated future versions) can be found on ScriptCenter:

But for those that don’t want to click and just want to see the current version, here it is:

Function Get-EnumValue


…read more

Read more here:: Bjorn Houben