Remove HPOVLogicalInterconnectGroup - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Remove-HPOVLogicalInterconnectGroup

Remove a Logical Interconnect Group.

SYNTAX

Remove-HPOVLogicalInterconnectGroup [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Removes a Logical Interconnect Group from appliance management

Parameters

-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)

Input Types

System.String

Logical Interconnect Group Name or URI

System.Management.Automation.PSCustomObject

Logical Interconnect Group resource object

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Removal Task

Examples

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

Related Links


Top

HPE OneView 4.00 Library

Remove-HPOVLogicalInterconnectGroup

Remove a Logical Interconnect Group.

SYNTAX

Remove-HPOVLogicalInterconnectGroup [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-force] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

Removes a Logical Interconnect Group from appliance management

Parameters

-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)

Input Types

System.String

Logical Interconnect Group Name or URI

System.Management.Automation.PSCustomObject

Logical Interconnect Group resource object

Return Values

HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]

Removal Task

Examples

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

Related Links


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