Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Set-NaTimezone


NAME
Set-NaTimezone

SYNOPSIS
Set current timezone to the specified timezone.

SYNTAX
Set-NaTimezone [-Timezone] <String> [-Controller <NaController>] [-WhatIf] [
-Confirm] [<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 Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

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

-WhatIf


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

-Confirm


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
DataONTAP.PowerShell.SDK.Cmdlets.Clock.TimeZone


NOTES


Category: clock
API: clock-set-timezone

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

C:\PS>Set-NaTimezone EST5EDT


Set the time zone to Eastern Time (US).


Timezone TimezoneUTC TimezoneVersion
-------- ----------- ---------------
EST5EDT -0400 2010e



RELATED LINKS
Get-NaTimezone







 Data ONTAP® PowerShell Toolkit