-
Notifications
You must be signed in to change notification settings - Fork 52
Remove HPOVAddressPoolRange
Delete Address Pool Range from an appliance.
Remove-HPOVAddressPoolRange [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
This Cmdlet provides the ability to remove one or more IPv4 Subnet Pools and associated Address Pool Ranges from one or more appliances.
-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)
HPOneView.Appliance.AddressPoolRange [System.Management.Automation.PSCustomObject]
Address Pool Range from Get-HPOVAddressPoolRange
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Result of resource removal
-------------------------- 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.
Delete Address Pool Range from an appliance.
Remove-HPOVAddressPoolRange [-InputObject] <Object> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
This Cmdlet provides the ability to remove one or more IPv4 Subnet Pools and associated Address Pool Ranges from one or more appliances.
-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)
HPOneView.Appliance.AddressPoolRange [System.Management.Automation.PSCustomObject]
Address Pool Range from Get-HPOVAddressPoolRange
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Result of resource removal
-------------------------- 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.