PowerCLI Reference

Get-VMHostAvailableTimeZone

Synopsis

This cmdlet 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

This cmdlet retrieves the time zones available on the specified host.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Specifies the names of the available time zones you want to retrieve.falsefalse
VMHostVMHost[]Specifies the host for which you want to retrieve the available time zones.truetrue (ByValue)
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed 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

Zero or more VMHostTimeZone objects

Notes

Examples

-------------- Example 1 --------------

Get-VMHostAvailableTimeZone -Name Pacific* -VMHost 10.23.112.19

Retrieves the Pacific time zones available on the specified host.


Copyright © VMware, Inc. All rights reserved.