-
Notifications
You must be signed in to change notification settings - Fork 52
Remove HPOVLogicalInterconnectGroup
Remove a Logical Interconnect Group.
Remove-HPOVLogicalInterconnectGroup [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Removes a Logical Interconnect Group from appliance management
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.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.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Confirm <SwitchParameter>
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-name, -uri, -Lig] The logical interconnect group object(s), name(s) or uris(s) to be removed from management.
Aliases | uri, name, Lig, Resource |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | wi |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-force <SwitchParameter>
Invoke switch force-delete the resource when OneView can no longer communicate with the resource and removal is needed. Force remove succeeds even if there are network connectivity issues or resource errors. -Force is not a PowerShell option, rather an HPE OneView API feature. This does not override the -Confirm PowerShell option.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
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)
System.String
Logical Interconnect Group Name or URI
System.Management.Automation.PSCustomObject
Logical Interconnect Group resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Removal Task
-------------------------- EXAMPLE 1 --------------------------$lig = Get-HPOVLogicalInterconnectGroup -Name "My-LIG" Remove-HPOVLogicalInterconnectGroup $lig -confirm:$false
Remove the logical interconnect group specifed by $lig. Disable confirmation prompt.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVLogicalInterconnectGroup | Remove-HPOVLogicalInterconnectGroup
Search for all logical interconnect groups and remove them from all connected appliances.
Remove a Logical Interconnect Group.
Remove-HPOVLogicalInterconnectGroup [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Removes a Logical Interconnect Group from appliance management
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.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.
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | False |
-Confirm <SwitchParameter>
Aliases | cf |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InputObject <Object>
Aliases [-name, -uri, -Lig] The logical interconnect group object(s), name(s) or uris(s) to be removed from management.
Aliases | uri, name, Lig, Resource |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | true (ByValue) |
Accept wildcard characters? | False |
-WhatIf <SwitchParameter>
Aliases | wi |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-force <SwitchParameter>
Invoke switch force-delete the resource when OneView can no longer communicate with the resource and removal is needed. Force remove succeeds even if there are network connectivity issues or resource errors. -Force is not a PowerShell option, rather an HPE OneView API feature. This does not override the -Confirm PowerShell option.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
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)
System.String
Logical Interconnect Group Name or URI
System.Management.Automation.PSCustomObject
Logical Interconnect Group resource object
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Removal Task
-------------------------- EXAMPLE 1 --------------------------$lig = Get-HPOVLogicalInterconnectGroup -Name "My-LIG" Remove-HPOVLogicalInterconnectGroup $lig -confirm:$false
Remove the logical interconnect group specifed by $lig. Disable confirmation prompt.
-------------------------- EXAMPLE 2 --------------------------Get-HPOVLogicalInterconnectGroup | Remove-HPOVLogicalInterconnectGroup
Search for all logical interconnect groups and remove them from all connected appliances.