Skip to content

Remove-OVScope

Syntax

Remove-OVScope
    [-Scope] <HPEOneView.Appliance.ScopeCollection>
    [-ApplianceConnection <Array>]
    [<CommonParameters>]

Description

This Cmdlet will remove a specific Scope.

Info

Minimum required privileges: Infrastructure administrator

Examples

Example 1

Get-OVScope MyScope | Remove-OVScope

Remove the specified scope.

Parameters

-Scope <HPEOneView.Appliance.ScopeCollection>

The Scope resource to add the resource(s) to.

Aliases None
Required? True
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-ApplianceConnection <Array>

Specify one [HPEOneView.Appliance.Connection] object or Name property value.

Aliases Appliance
Required? False
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

Input Types

Scope resource object from Get-OVScope.

Return Values

Response indicating the resource was deleted successfully.