Skip to content

Remove-OVAddressPoolRange

Syntax

Remove-OVAddressPoolRange
    [-InputObject] <Object>
    [-ApplianceConnection] <Object>
    [<CommonParameters>]

Description

This Cmdlet provides the ability to remove one or more IPv4 Subnet Pools and associated address pool ranges from one or more appliances.

Examples

Example 1

Get-OVAddressPoolRange | Remove-OVAddressPoolSubnet

Remove all address pool ranges the default connected appliance.

Example 2

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

Remove "192.168.20.0" IPv4 Subnet address pool from [MyAppliance.domain.com].

Parameters

-InputObject <Object>

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

-ApplianceConnection <Object>

Specify one [HPEOneView.Appliance.Connection] object or Name property value. 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

-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

address pool range from Get-OVAddressPoolRange

Return Values

Result of resource removal