HP OneView Deployment and Management Guide 1.0

Technical white paper | HP OneView Deployment and Management Guide
106
Server Profiles
Index
Tasks
Security
Alerts
Licenses
Using PowerShell
The HP OneView Powershell library is a self contained module that you first need to import, or add to your PowerShell
Session Profile. After the module has been successfully imported, you must first execute Connect-HPOVmgmt in order to
authenticate to the appliance. You can then execute other functions to perform the desired action.
1. Execute Import-Module .\HPOneView.psd1
A. Example:
PS C:\Users\Administrator> Import-Module .\HPOneView.psd1
[HPONEVIEW]: Not Connected PS>
2. Execute the Connect-HPOVmgmt CMDLET
A. Example