## 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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Name | String[] | Specifies the names of the available time zones you want to retrieve. | false | false
VMHost | VMHost[] | Specifies the host for which you want to retrieve the available time zones. | true | true (ByValue)
Server | VIServer[] | 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. | false | false

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.