Remove HPOVAddressPoolSubnet - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Remove-HPOVAddressPoolSubnet

Delete an IPv4 Subnet Pool from an appliance.

SYNTAX

Remove-HPOVAddressPoolSubnet [-IPv4Subnet] <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

-IPv4Subnet <Object>

Aliases [-Subnet] The IPv4 Subnet Pool resource Object. Can be accepted via pipeline input.

Aliases Subnet
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.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]

IPv4 Subnet Pool from Get-HPOVAddressPoolSubnet

Return Values

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

Result of resource removal

Examples

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

Get-HPOVAddressPoolSubnet | Remove-HPOVAddressPoolSubnet

Remove all IPv4 Subnet Address Pools from any connected appliance.

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

Get-HPOVAddressPoolSubnet 192.168.20.0 | Remove-HPOVAddressPoolSubnet

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

Related Links


Top

HPE OneView 4.00 Library

Remove-HPOVAddressPoolSubnet

Delete an IPv4 Subnet Pool from an appliance.

SYNTAX

Remove-HPOVAddressPoolSubnet [-IPv4Subnet] <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

-IPv4Subnet <Object>

Aliases [-Subnet] The IPv4 Subnet Pool resource Object. Can be accepted via pipeline input.

Aliases Subnet
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.IPv4AddressSubnet [System.Management.Automation.PSCustomObject]

IPv4 Subnet Pool from Get-HPOVAddressPoolSubnet

Return Values

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

Result of resource removal

Examples

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

Get-HPOVAddressPoolSubnet | Remove-HPOVAddressPoolSubnet

Remove all IPv4 Subnet Address Pools from any connected appliance.

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

Get-HPOVAddressPoolSubnet 192.168.20.0 | Remove-HPOVAddressPoolSubnet

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

Related Links


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