Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaTime


NAME
Get-NaTime

SYNOPSIS
Gets current date and time from the controller.

SYNTAX
Get-NaTime [-ComplianceTime] [-Controller <NaController>] [-WarningAction <A
ctionPreference>] [-WarningVariable <String>] [<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 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-get-clock

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

C:\PS>Get-NaTime


Get the local time.


Name Value
---- -----
LocalTime 1269636476
LocalTimeString 3/26/2010 8:47:56 PM
UtcTimeString 3/27/2010 12:47:56 AM
UtcTime 1269650876



RELATED LINKS
Set-NaTime







 Data ONTAP® PowerShell Toolkit