Get-OVApplianceDateTime
Syntax
Description
This Cmdlet displays the appliance or connected appliances Date and Time configuration. Part of this is the actual Date and Time of the appliance, Time Zone, NTP Servers, NTP polling, and Locale.
When querying a Virtual Machine Appliance and the NTPServersproperty or field is Null, the appliance will retrieve its Date and Time from the Hypervisor Host.
When querying a Synergy Composer appliance and the NTPServersproperty or field is Null, the appliance will retrieve its Date and Time from the System ROM.
Info
Minimum required privileges: Read-only
Examples
Example 1
Get-OVApplianceDateTime
Appliance Time Time Zone NTP Servers NTP Polling
--------- ---- --------- ----------- -----------
hpov1.domain.com 2/11/2016 2:12:46 PM UTC {10.55.1.1,10.54.1.1}
hpov2.domain.com 2/11/2016 2:12:45 PM UTC {}
This example passes in updated values to set for the appliance networking configuration.
Parameters
-ApplianceConnection <Object>
Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).
Default Value: ${Global:ConnectSessions} | ? Default
| Aliases | Appliance |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | (${Global:ConnectedSessions} | ? Default) |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
Input Types
None. You cannot pipe objects to this Cmdlet.
Return Values
Date/Time object.