Remove HPOVScope - HewlettPackard/POSH-HPEOneView GitHub Wiki
Remove Scope from appliance
Remove-HPOVScope [-Scope] <HPOneView.Appliance.ScopeCollection>[ [-ApplianceConnection] <Array>] [-WhatIf] <> [-Confirm] <> [<CommonParameters>]This Cmdlet will remove a specific Scope.
Minimum required privileges: Infrastructure administrator
-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)
HPOneView.Appliance.ScopeCollection
Scope resource object from Get-HPOVScope.
System.Management.Automation.PSCustomObject
Response indicating the resource was deleted successfully.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVScope MyScope | Remove-HPOVScope
Remove the specified scope.
Remove Scope from appliance
Remove-HPOVScope [-Scope] <HPOneView.Appliance.ScopeCollection>[ [-ApplianceConnection] <Array>] [-WhatIf] <> [-Confirm] <> [<CommonParameters>]This Cmdlet will remove a specific Scope.
Minimum required privileges: Infrastructure administrator
-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)
HPOneView.Appliance.ScopeCollection
Scope resource object from Get-HPOVScope.
System.Management.Automation.PSCustomObject
Response indicating the resource was deleted successfully.
-------------------------- EXAMPLE 1 --------------------------Get-HPOVScope MyScope | Remove-HPOVScope
Remove the specified scope.