vSphere PowerCLI Reference

Get-VMHostAvailableTimeZone

Synopsis

Retrieves the time zones available on the specified host.

Syntax

Get-VMHostAvailableTimeZone [-VMHost] <VMHost[]> [[-Name] <String[]>] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
Set-VMHost

Detailed Description

Retrieves the time zones available on the specified host.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specify the names of the available time zones you want to retrieve.falsefalse
VMHostVMHost[]Specify the host for which you want to retrieve the available time zones.truetrue (ByValue)
ServerVIServer[]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.falsefalse

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.


Copyright © 1998 - 2012 VMware, Inc. All rights reserved.