PowerCLI Reference

Get-VMHostAvailableTimeZone

Synopsis

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

Syntax

Get-VMHostAvailableTimeZone [[-Name] <String[]>] [-VMHost] <VMHost[]> [-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.