Retrieve PowerShell enumeration names or typed values using [System.Enum]::GetNames() and GetValues() for reliable, cross-version compatibility.