Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Get-NaTime


NAME
Get-NaTime

SYNOPSIS
Gets current date and time from the controller.

SYNTAX
Get-NaTime [-ComplianceTime] [-Controller <NaController>] [<CommonParameters
>]


DESCRIPTION
Gets current date and time from the controller.


PARAMETERS
-ComplianceTime
If this is true, then the compliance clock is returned, otherwise the no
rmal local clock is returned.

Required? false
Position? named
Default value false
Accept pipeline input? false
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

<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.Types.Clock.Time


NOTES


Category: clock
API: clock-get-clock

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

C:\PS>Get-NaTime


Get the local time.


LocalTime UTC
--------- ---
8/27/2010 7:21:17 PM 8/27/2010 11:21:17 PM



RELATED LINKS
Set-NaTime







 Data ONTAP® PowerShell Toolkit