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
Creates a new resource on an HPE OneView appliance by sending an HTTP POST to the specified URI.Syntax
Description
New-OVResource is a low-level cmdlet that issues an HTTP POST to a specified URI with the provided object as the request body. It is the underlying mechanism used by higher-level creation cmdlets such as New-OVNetwork, New-OVStorageVolume, and similar.
Use New-OVResource directly when you need to create a resource type that does not have a dedicated named cmdlet.
For most resource types, a dedicated
New-OV* or Add-OV* cmdlet exists and is the recommended approach. Use New-OVResource when no dedicated cmdlet is available.Parameters
The REST API URI endpoint to POST to. Must start with
/. For example, /rest/ethernet-networks.The resource object to create. Accepts pipeline input. Alias:
Resource. The object is serialized to JSON and sent as the request body.The appliance connection object or name. Alias:
Appliance. Defaults to the default connection in $ConnectedSessions.