rubrikinc / rubrik-sdk-for-powershell

Rubrik Module for PowerShell
https://build.rubrik.com/sdks/powershell/
MIT License
102 stars 87 forks source link

Update required for list of acceptable timezones for Set-RubrikSetting.ps1 #830

Open Danningt0n opened 1 year ago

Danningt0n commented 1 year ago

Current Behavior

Set-RubrikSetting -Timezone Asia/Dubai
Set-RubrikSetting: Cannot validate argument on parameter 'Timezone'. The argument "Asia/Dubai" does not belong to the set "Africa/Johannesburg,Africa/Lagos,Africa/Nairobi,America/Anchorage,America/Araguaina,America/Barbados,America/Chicago,America/Denver,America/Los_Angeles,America/Mexico_City,America/New_York,America/Noronha,America/Phoenix,America/Toronto,America/Vancouver,Asia/Bangkok,Asia/Dhaka,Asia/Hong_Kong,Asia/Karachi,Asia/Kathmandu,Asia/Kolkata,Asia/Magadan,Asia/Singapore,Asia/Tokyo,Atlantic/Cape_Verde,Australia/Perth,Australia/Sydney,Europe/Amsterdam,Europe/Athens,Europe/London,Europe/Moscow,Pacific/Auckland,Pacific/Honolulu,Pacific/Midway,UTC" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.

Expected Behavior

The timezone should be accepted and the command should also request the Cluster Name and Location. But certain timezones present in the UI are not listed in the ValidateSet list in the script.

Steps to Reproduce

No response

Context

Set-RubrikSetting.ps1

Failure Logs

No response