Remove HPOVAddressPoolRange - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Remove-HPOVAddressPoolRange

Delete Address Pool Range from an appliance.

SYNTAX

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

Detailed Description

This Cmdlet provides the ability to remove one or more IPv4 Subnet Pools and associated Address Pool Ranges from one or more appliances.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. 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 [-AddressPool] The Address Pool Range resource Object. Can be accepted via pipeline input.

Aliases AddressPool
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

<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

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

Address Pool Range from Get-HPOVAddressPoolRange

Return Values

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

Result of resource removal

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVAddressPoolRange | Remove-HPOVAddressPoolSubnet

Remove all Address Pool ranges the default connected appliance.

 -------------------------- EXAMPLE 2 --------------------------

Get-HPOVAddressPoolSubnet | Where startAddress -eq "11:11:11:11:11:11" | Remove-HPOVAddressPoolSubnet

Remove "192.168.20.0" IPv4 Subnet Address Pool from MyAppliance.domain.com.

Related Links


Top

HPE OneView 4.00 Library

Remove-HPOVAddressPoolRange

Delete Address Pool Range from an appliance.

SYNTAX

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

Detailed Description

This Cmdlet provides the ability to remove one or more IPv4 Subnet Pools and associated Address Pool Ranges from one or more appliances.

Parameters

-ApplianceConnection <Object>

Aliases [-Appliance]

Specify one HPOneView.Appliance.Connection object or Name property value. 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 [-AddressPool] The Address Pool Range resource Object. Can be accepted via pipeline input.

Aliases AddressPool
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

<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

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

Address Pool Range from Get-HPOVAddressPoolRange

Return Values

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

Result of resource removal

Examples

 -------------------------- EXAMPLE 1 --------------------------

Get-HPOVAddressPoolRange | Remove-HPOVAddressPoolSubnet

Remove all Address Pool ranges the default connected appliance.

 -------------------------- EXAMPLE 2 --------------------------

Get-HPOVAddressPoolSubnet | Where startAddress -eq '11:11:11:11:11:11' | Remove-HPOVAddressPoolSubnet

Remove '192.168.20.0' IPv4 Subnet Address Pool from MyAppliance.domain.com.

Related Links


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