Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcTime


NAME
Get-NcTime

SYNOPSIS
Get current date and time from the controller.

SYNTAX
Get-NcTime [[-Node] <String>] [-Controller <NcController[]>] [<CommonParamet
ers>]


DESCRIPTION
Get current date and time from the controller.


PARAMETERS
-Node <String>
Node for which to get time.

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

-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
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.C.Types.Clock.Time


NOTES


Category: clock
API: clock-get-clock
Family: cluster

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

C:\PS>Get-NcTime -Node tesla-01


Get the current time for node tesla-01.


LocalTime : 1347545437
UtcTime : 1347559837
LocalTimeDT : 9/13/2012 2:10:37 PM
UtcTimeDT : 9/13/2012 6:10:37 PM



RELATED LINKS
Set-NcTime







 Data ONTAP® PowerShell Toolkit