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
Adds a ProLiant server to HPE OneView for full management or monitoring-only access.Syntax
Managed server (default)Description
Add-OVServer imports a rack-mount or blade server into HPE OneView by communicating with its iLO management processor. Two modes are supported:
- Managed: HPE OneView takes full control, applying firmware policies, server profiles, and compliance monitoring. Requires an
OneVieworOneViewNoiLOlicense. - Monitored: HPE OneView receives health and alert data from the iLO, but does not apply profiles or firmware. No HPE OneView license is consumed.
-Credential parameter accepts a PSCredential object containing the iLO administrator credentials. The deprecated -Username and -Password parameters are still accepted but will generate a warning.
For bulk imports, use -Async to submit all requests concurrently and collect the returned task objects for later status checking. The appliance supports up to 64 concurrent async tasks.
Parameters
The iLO IP address or FQDN of the server to add.
A
PSCredential object containing the iLO administrator username and password. Preferred over the deprecated -Username/-Password parameters.The licensing mode to apply when adding a managed server. Valid values:
OneView(default) — full HPE OneView management with iLO Advanced licenseOneViewNoiLO— HPE OneView management without consuming an iLO Advanced license
Add the server in monitoring-only mode. When specified, the server is not managed by HPE OneView and no HPE OneView license is consumed.
One or more scope objects to assign to the server resource on import.
Return the async task object immediately without waiting for the operation to complete. Use
Wait-OVTaskComplete to monitor the task.The appliance connection object or name. Defaults to the default connected session.
Examples
Add a managed server
192.168.1.100 as a fully managed resource and waits for the operation to complete.
Add a monitored server
Bulk import from a CSV file (async)
The following pattern is adapted fromAddServers_Monitored_Sample.ps1:
Add a managed server without iLO Advanced license
Output
HPEOneView.Appliance.TaskResource
The cmdlet returns an async task resource. When the task completes successfully, the resulting server hardware object is available at the task’s associatedResource property. Use Wait-OVTaskComplete to block until the task finishes.