Remove-OVLogicalSwitchGroup
Syntax
Remove-OVLogicalSwitchGroup
[-InputObject] <Object>
[-ApplianceConnection <Object>]
[-Force]
[<CommonParameters>]
Description
This Cmdlet will remove the configured Logical Switch Group from the requested appliance(s). You cannot delete a logical switch group while it is being used by one or more logical switches. To delete the logical switch group, first delete the logical switches using the logical switch group. Minimum required privileges: Infrastructure administrator or Network administrator
Examples
Example 1
Remove all logical switch group resources found on the default appliance connection.
Example 2
Get-OVLogicalSwitchGroup -Name "My Logical Switch Group Policy 1" | Remove-OVLogicalSwitchGroup -confirm:$false
Remove the "My Logical SwitchGroup Policy 1" resource.
Parameters
-InputObject <Object>
The Logical Switch resource Name or Object to update.
| Aliases | ls, LogicalSwitchGroup |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | true (ByValue) |
| Accept wildcard characters? | False |
-Confirm <SwitchParameter>
Bypass the confirmation prompt, and process all of the objects.
| Aliases | cf |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-Force <SwitchParameter>
Force remove resource, even if there are communication problems.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-ApplianceConnection <Object>
Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.
| 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
Logical Switch Group resource.
Return Values
The async task resource object results.
Collection of remove Logical Switch async task resources.