< Back
Get-VMHostAvailableTimeZone
Post
NAME Get-VMHostAvailableTimeZone
SYNOPSIS
This cmdlet retrieves the time zones available on the specified host.
SYNTAX
Get-VMHostAvailableTimeZone [[-Name] <String[]>] [-VMHost] <VMHost[]> [-Server <VIServer[]>] [<CommonParameters>]
DESCRIPTION
This cmdlet retrieves the time zones available on the specified host.
PARAMETERS
-Name <String[]>
Specifies the names of the available time zones you want to retrieve.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-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.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-VMHost <VMHost[]>
Specifies the host for which you want to retrieve the available time zones.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Zero or more VMHostTimeZone objects
NOTES
-------------------------- Example 1 --------------------------
Get-VMHostAvailableTimeZone -Name Pacific* -VMHost 10.23.112.19
Retrieves the Pacific time zones available on the specified host.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... eZone.html
Set-VMHost
SYNOPSIS
This cmdlet retrieves the time zones available on the specified host.
SYNTAX
Get-VMHostAvailableTimeZone [[-Name] <String[]>] [-VMHost] <VMHost[]> [-Server <VIServer[]>] [<CommonParameters>]
DESCRIPTION
This cmdlet retrieves the time zones available on the specified host.
PARAMETERS
-Name <String[]>
Specifies the names of the available time zones you want to retrieve.
Required? false
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-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.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? true
-VMHost <VMHost[]>
Specifies the host for which you want to retrieve the available time zones.
Required? true
Position? 2
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? true
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
Zero or more VMHostTimeZone objects
NOTES
-------------------------- Example 1 --------------------------
Get-VMHostAvailableTimeZone -Name Pacific* -VMHost 10.23.112.19
Retrieves the Pacific time zones available on the specified host.
RELATED LINKS
Online Version: https://code.vmware.com/doc/preview?id= ... eZone.html
Set-VMHost