Set HPOVApplianceDateTime - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Set-HPOVApplianceDateTime

Update Appliance Date/Time Configuration.

SYNTAX

Set-HPOVApplianceDateTime[ [-SyncWithHost] <SwitchParameter>] [-Locale] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
Set-HPOVApplianceDateTime [-NTPServers] <Array> [-PollingInterval] <Int32> [-Locale] <String> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

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.

Parameters

-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 None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-NTPServers <Array>

Parameter is deprecated. Please use the Set-HPOVApplianceDateTime Cmdlet.

Aliases None
Required? true
Position? named
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 None
Required? true
Position? named
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 None
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 --------------------------

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 --------------------------

Set-HPOVApplianceDateTime -SyncWithHost

This example passes in updated values to set for the appliance networking configuration.

Related Links


Top

HPE OneView 4.00 Library

Set-HPOVApplianceDateTime

Update Appliance Date/Time Configuration.

SYNTAX

Set-HPOVApplianceDateTime[ [-SyncWithHost] <SwitchParameter>] [-Locale] <String> [-ApplianceConnection] <Object> [<CommonParameters>]
Set-HPOVApplianceDateTime [-NTPServers] <Array> [-PollingInterval] <Int32> [-Locale] <String> [-ApplianceConnection] <Object> [<CommonParameters>]

Detailed Description

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.

Parameters

-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 None
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-NTPServers <Array>

Parameter is deprecated. Please use the Set-HPOVApplianceDateTime Cmdlet.

Aliases None
Required? true
Position? named
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 None
Required? true
Position? named
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 None
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 --------------------------

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 --------------------------

Set-HPOVApplianceDateTime -SyncWithHost

This example passes in updated values to set for the appliance networking configuration.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️