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
Returns the installed HPE OneView PowerShell library version, and optionally queries the connected appliance for its API version or checks GitHub for a newer library release.Syntax
Description
Get-OVVersion returns the $PSLibraryVersion object that contains the installed version of the HPE OneView PowerShell Library.
When -ApplianceVer is specified, the cmdlet also queries the connected appliance and includes its supported API version information in the output. An active appliance connection is required for this.
When -CheckOnline is specified, the cmdlet queries the GitHub releases API to determine whether a newer version of the library is available for the current major/minor release track. If a newer build is found, the user is prompted to open a browser to download the update. This parameter does not require an appliance connection.
Parameters
When specified, the cmdlet includes the connected appliance’s API version information in the output. Requires an active appliance connection.
When specified, checks GitHub for a newer version of the HPE OneView PowerShell Library matching the current major.minor version track. If an update is found, the user is prompted to open a browser. Does not require an appliance connection.
Specifies the HPE OneView appliance connection(s) to use when
-ApplianceVer is provided. Defaults to the default connection from ${Global:ConnectedSessions}. Alias: Appliance.Examples
Example 1: Return the installed library version$PSLibraryVersion object with the installed library version details.
Example 2: Include appliance API version
UpdateAvailable = False.
Output
PSCustomObject ($PSLibraryVersion)
The returned object includes:
| Property | Description |
|---|---|
LibraryVersion | The installed library version as a [Version] object |
Major | Major version number |
Minor | Minor version number |
UpdateAvailable | True/False — populated when -CheckOnline is used |
-ApplianceVer is used, the appliance API version details are included in the output.