-
Notifications
You must be signed in to change notification settings - Fork 52
Set HPOVApplianceDateTime
## Set-HPOVApplianceDateTime
Update Appliance Date/Time Configuration. ### SYNTAX
Set-HPOVApplianceDateTime [-Locale] <String>[ [-SyncWithHost] <SwitchParameter>] [-ApplianceConnection] <Object> [<CommonParameters>]
Set-HPOVApplianceDateTime [-NTPServers] <Array> [-PollingInterval] <Int32> [-Locale] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
Update the appliance Date and Time configuration, including Locale, NTP Servers, and NTP Polling.
Using the -SyncWithHost parameter will set the NTPServers property to null.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.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 |
-Locale <String>
Specify the language local for the appliance
- en_US - US English
- zh_CN - Simplified Chinese
- ja_JP - Japanese
Aliases | Appliance |
Required? | true |
Position? | 2 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-NTPServers <Array>
Collection of NTP Server IP Addresses or FQDNs.
Aliases | Appliance |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-PollingInterval <Int32>
The polling interval in seconds the NTP client will use to verify time drift.
Aliases | Appliance |
Required? | true |
Position? | 1 |
Default value | 0 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SyncWithHost <SwitchParameter>
Specify to configure the embedded hypervisor integration agent to sync time with the hypervisor host.
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | False |
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
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Asyncronous task resource to monitor.
### Examples
-------------------------- EXAMPLE 1 --------------------------PS C:\> Set-HPOVApplianceDateTime -NTPServers 10.55.1.1,10.54.1.1 -PollingInterval 60
This example passes in updated values to set for the appliance networking configuration.
-------------------------- EXAMPLE 2 --------------------------PS C:\> Set-HPOVApplianceDateTime -SyncWithHost
This example passes in updated values to set for the appliance networking configuration.
- [Get-HPOVApplianceNetworkConfig] (https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVApplianceNetworkConfig)