Set-OVInterconnectNTPConfiguration
Syntax
Set-OVInterconnectNTPConfiguration
[-SyncWithAppliance]
[-ApplianceConnection <Object>]
[<CommonParameters>]
Set-OVInterconnectNTPConfiguration
[-SyncWithNTP]
[-ApplianceConnection <Object>]
[<CommonParameters>]
Description
When HPE OneView manages or monitors server or compute resources, it will automatically by default set the management processor NTP settings to the appliance's IP Address. Using this Cmdlet, you can get the current time synchronize policy of the managed and monitored server hardware on the appliance. When the global policy is set to sync with external NTP servers, a property is added to the returned object called NTPServers. The array contains the appliance configured NTP server(s).
Info
Minimum required privileges:
- Infrastructure Administrator
Examples
Example 1
Change the interconnect policy to time sync with the appliance.
Parameters
-ApplianceConnection <Object>
Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
| Aliases | Appliance |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | (${Global:ConnectedSessions} | ? Default) |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-SyncWithAppliance <SwitchParameter>
Configures managed and monitored server hardware devices to use the HPE OneView appliance as the NTP server.
| Aliases | None |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-SyncWithNTP <SwitchParameter>
Configures managed and monitored server hardware devices to use the same NTP servers as the HPE OneView appliance.
| Aliases | None |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| 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
Object resource with the global setting value