Remove HPOVScope - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Remove-HPOVScope

Remove Scope from appliance

SYNTAX

Remove-HPOVScope [-Scope] <HPOneView.Appliance.ScopeCollection>[ [-ApplianceConnection] <Array>] [-WhatIf] <> [-Confirm] <> [<CommonParameters>]

Detailed Description

This Cmdlet will remove a specific Scope.

Minimum required privileges: Infrastructure administrator

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value.

Default Value: ${Global:ConnectedSessions} | ? Default

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

-Confirm <>

Aliases cf
Required?
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Scope <HPOneView.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

-WhatIf <>

Aliases wi
Required?
Position? named
Default value
Accept pipeline input? false
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

HPOneView.Appliance.ScopeCollection

Scope resource object from Get-HPOVScope.

Return Values

System.Management.Automation.PSCustomObject

Response indicating the resource was deleted successfully.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVScope MyScope | Remove-HPOVScope

Remove the specified scope.

Related Links


Top

HPE OneView 4.00 Library

Remove-HPOVScope

Remove Scope from appliance

SYNTAX

Remove-HPOVScope [-Scope] <HPOneView.Appliance.ScopeCollection>[ [-ApplianceConnection] <Array>] [-WhatIf] <> [-Confirm] <> [<CommonParameters>]

Detailed Description

This Cmdlet will remove a specific Scope.

Minimum required privileges: Infrastructure administrator

Parameters

-ApplianceConnection <Array>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value.

Default Value: ${Global:ConnectedSessions} | ? Default

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

-Confirm <>

Aliases cf
Required?
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters?    False

-Scope <HPOneView.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

-WhatIf <>

Aliases wi
Required?
Position? named
Default value
Accept pipeline input? false
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

HPOneView.Appliance.ScopeCollection

Scope resource object from Get-HPOVScope.

Return Values

System.Management.Automation.PSCustomObject

Response indicating the resource was deleted successfully.

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVScope MyScope | Remove-HPOVScope

Remove the specified scope.

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️