Skip to content

Set HPOVApplianceDateTime

Chris Lynch edited this page Sep 21, 2017 · 33 revisions

HPE OneView 3.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


HPE OneView 3.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.AsyncTask [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.

Related Links


HPE OneView 2.00 Library

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

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? 2
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-NTPServers <Array>

Collection of NTP Server IP Addresses or FQDNs.

Aliases None
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 None
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 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]

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

Related Links


Wiki Table of Contents

Clone this wiki locally