Syntax
Get-VMHostAvailableTimeZone [-VMHost] <VMHost[]> [[-Name] <String[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
Retrieves the time zones available on the specified host.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Specify the names of the available time zones you want to retrieve. | false | false | |
VMHost | VMHost[] | Specify the host for which you want to retrieve the available time zones. | true | true (ByValue) | |
Server | VIServer[] | Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | false |
Return Type
VMHostTimeZone[]Notes
Examples
-------------- Example 1 --------------
Get-VMHostAvailableTimeZone -Name Pacific* -VMHost 10.23.112.19
Retrieves the Pacific time zones available on the specified host.