This guide walks you through installing the HPE OneView PowerShell Library, connecting to an appliance, and running a set of basic commands to verify everything is working.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.
Prerequisites
Before you begin, confirm your environment meets the following requirements:| Requirement | Minimum version |
|---|---|
| PowerShell (Windows) | 5.1 or 7.x |
| PowerShell (Linux / macOS) | 7.x (PowerShell Core) |
| .NET Framework (Windows PS 5.1 only) | 4.7.2 |
| HPE OneView appliance | 10.00 |
Windows PowerShell 4.0 and earlier are not supported. Windows 10 1709 (Fall Creators Update) or newer is required on Windows due to the .NET Framework 4.7.2 dependency.
Connect and run your first commands
Install the module
Install the library from the PowerShell Gallery. Run this command in an elevated PowerShell session (Run as Administrator on Windows).If you are prompted to trust the repository, enter
Y to accept.Import the module
Load the module into your PowerShell session:Verify the module loaded correctly:You should see output showing the module name and version
10.0.4265.2221.Connect to your appliance
Establish a session with your HPE OneView appliance using After a successful connection, the cmdlet returns a connection object and stores it in the
Connect-OVMgmt. Replace MyAppliance.FQDN.Name with your appliance’s hostname or IP address.$Global:ConnectedSessions variable.Retrieve server hardware
List all server hardware managed by the appliance:To filter by name or retrieve a specific server:
Retrieve network resources
List Ethernet, Fibre Channel, and FCoE networks:
When
Get-OVNetwork returns multiple network types (Ethernet, FC, FCoE), only the first type may render cleanly in table format due to a known FormatPX limitation. Pipe results to Format-List or filter by -Type to inspect all properties.Retrieve server profiles
Server profiles define the configuration assigned to physical servers. Retrieve them with:
Check appliance version
Confirm the library and appliance API version:This returns the library version (
10.0.4265.2221) and the appliance X-API version (7600).Next steps
Installation guide
Detailed installation instructions for all platforms, including offline and WSL setups
Appliance connections
Learn how to manage multiple simultaneous appliance connections
Connecting to an appliance
Authentication options including credential objects and two-factor auth
Cmdlet reference
Browse the complete cmdlet reference for all supported operations