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
Sends an HTTP request to a specified URI on an HPE OneView appliance and returns the response.Syntax
Description
Send-OVRequest is the core low-level REST API cmdlet used by nearly all other HPE OneView library cmdlets. It handles authentication token injection, session management, pagination, and response error parsing.
You can use Send-OVRequest directly to:
- Access REST API endpoints not yet covered by a higher-level cmdlet
- Perform PATCH operations
- Retrieve raw JSON responses for custom processing
- Pass custom HTTP headers
/ (e.g., /rest/server-hardware).
Most use cases are served by the higher-level named cmdlets (e.g.,
Get-OVServer, New-OVNetwork). Use Send-OVRequest only when a dedicated cmdlet does not exist for the operation you need.Parameters
The REST API URI path, starting with
/. For example, /rest/server-hardware or /rest/server-profiles/abc123.HTTP method. Valid values:
GET, POST, DELETE, PATCH, PUT. Defaults to GET.The request body. Used with
POST, PUT, and PATCH requests. Accepts a PowerShell object or hashtable; the library serializes it to JSON automatically.The zero-based start index for paginated collection responses. Defaults to
0.The maximum number of records to return for paginated collections. Defaults to
0 (library handles pagination automatically).Additional HTTP request headers to include. For example,
@{ 'X-Custom-Header' = 'value' }.Override the default
application/json Content-Type header for the request.Override the default 20-minute request timeout (in seconds).
The appliance connection object or name. Aliases:
Appliance, ApplianceConnection. Defaults to the default connection in $ConnectedSessions.