PowerTip: View All Values of an Enum
Summary: Boe Prox shows how to view all values of an enum. How can I view all of the available values of an enum? Use the [Enum]::GetNames() method, for example:PS C: > [Enum]::GetNames([System.ConsoleColor])BlackDarkBlueDarkGreenDarkCyanDarkRedDarkMagentaDarkYellowGrayDarkGrayBlueGreenCyanRedMagentaYellowWhite