Setting Nullable Enum to $null - Should this really cause PSInvalidCastException? Setting Nullable Enum to $null - Should this really cause PSInvalidCastException? powershell powershell