Skip to content

Remove-OVLogicalInterconnectGroup

Syntax

Remove-OVLogicalInterconnectGroup
    [-InputObject] <Object>
    [-ApplianceConnection] <Object>
    [-Force]
    [<CommonParameters>]

Description

Removes a Logical Interconnect Group from appliance management

Examples

Example 1

$lig = Get-OVLogicalInterconnectGroup -Name "My-LIG"
Remove-OVLogicalInterconnectGroup $lig -confirm:$false

Remove the logical interconnect group specifed by $lig. Disable confirmation prompt.

Example 2

Get-OVLogicalInterconnectGroup | Remove-OVLogicalInterconnectGroup

Search for all logical interconnect groups and remove them from all connected appliances.

Parameters

-InputObject <Object>

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

-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? True
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
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

-WhatIf <SwitchParameter>

Aliases wi
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-Confirm <SwitchParameter>

Aliases cf
Required? False
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

Logical Interconnect Group Name or URI

Logical Interconnect Group resource object

Return Values

Removal Task