Data ONTAP® PowerShell Toolkit

Cmdlet: Set-NaTimezone


NAME
Set-NaTimezone

SYNOPSIS
Set current timezone to the specified timezone.

SYNTAX
Set-NaTimezone [-Timezone] <String> [-Controller <NaController>] [-WarningAc
tion <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Set current timezone to the specified timezone.


PARAMETERS
-Timezone <String>
Name of the timezone value which has to be set as current timezone value
. A timezone can have one of the two formats:

1. Using a location string specified in Arthur David Olsen's public doma
in time zone database. For example, "Americas/New_York" represents most
of the Eastern Time Zone.
2. A traditional time zone abbreviation incorporating default rules for
daylight savings time. For example, "EST5EDT" for the US Eastern Time Z
one.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction <ActionPreference>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable <String>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
System.Collections.Hashtable


NOTES


Category: clock
API: clock-set-timezone

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

C:\PS>Set-NaTimezone EST5EDT


Set the time zone to Eastern Time (US).


Name Value
---- -----
Timezone EST5EDT
TimezoneVersion 2009n
TimezoneUTC -0400



RELATED LINKS
Get-NaTimezone







 Data ONTAP® PowerShell Toolkit