Powershell How to Get Enum Properties and Their Values in PowerShell Learn how to retrieve the enum type of a Windows Service property in PowerShell and list all available enum values with their names and integer values.