Documentation Index
Fetch the complete documentation index at: https://mintlify.com/HewlettPackard/POSH-HPEOneView/llms.txt
Use this file to discover all available pages before exploring further.
Synopsis
Retrieves the current date and time settings, timezone, locale, and NTP server configuration from the HPE OneView appliance.Syntax
Description
Get-OVApplianceDateTime queries the appliance for its current date/time configuration. The returned object includes the current timestamp, the configured timezone, the display locale, the list of configured NTP servers, the NTP polling interval, and whether the appliance is set to synchronize time with the hypervisor host.
The cmdlet returns a strongly typed HPEOneView.Appliance.ApplianceLocaleDateTime object for each appliance connection processed.
Parameters
Specifies the HPE OneView appliance connection(s) to query. Defaults to the default connection from
${Global:ConnectedSessions}. Alias: Appliance.Examples
Example 1: Get date/time settings from the default applianceOutput
HPEOneView.Appliance.ApplianceLocaleDateTime
An object containing the following properties:
| Property | Description |
|---|---|
Locale | Locale code (e.g. en_US) |
Timezone | IANA timezone string (e.g. UTC) |
DateTime | Current appliance date and time |
NtpServers | Array of configured NTP server addresses |
PollingInterval | NTP polling interval in seconds |
SyncWithHost | True if syncing from the hypervisor host clock |
LocaleDisplayName | Human-readable locale name |