Get-VMHostAvailableTimeZone

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
required
VMHost
VMHost[] 1
  • wildcards
  • pipeline
  • Specifies the host for which you want to retrieve the available time zones.
    optional
    Name
    String[] named
  • wildcards
  • Specifies the names of the available time zones you want to retrieve.
    optional
    Server
    VIServer[] named
  • wildcards
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null 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.

    Output

    VMware.VimAutomation.ViCore.Types.V1.Host.VMHostTimeZone

    Examples


    Example 1

    Get-VMHostAvailableTimeZone -Name Pacific* -VMHost 10.23.112.19

    Retrieves the Pacific time zones available on the specified host.

    Related Commands

    Feedback

    Was this page helpful?