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
Deletes an existing resource from an HPE OneView appliance by sending an HTTPDELETE to the resource’s URI.
Syntax
Description
Remove-OVResource is a low-level cmdlet that performs an HTTP DELETE on the URI embedded in the resource object ($InputObject.uri). It is the underlying mechanism used by higher-level Remove-OV* cmdlets.
The input object must have a .uri property pointing to the resource’s REST URI — all objects returned by Get-OV* cmdlets include this property.
Parameters
The resource object to delete. Accepts pipeline input. Aliases:
Resource, ro, nameOruri, uri, name. Must contain a .uri property.Appends
?force=true to the DELETE request URI, allowing deletion of resources that would otherwise be blocked by dependency checks.The appliance connection object or name. Alias:
Appliance. Defaults to the default connection in $ConnectedSessions.Examples
Delete a resource object
Delete via pipeline
Force deletion
Delete across multiple appliances
Output
Returns nothing on success. For asynchronous deletions, returns anHPEOneview.Appliance.TaskResource that can be passed to Wait-OVTaskComplete.