The Remove-SCStaticIPAddressPool cmdlet deletes a System Center Virtual Machine Manager (VMM) static IP address pool.
For more information about Remove-SCStaticIPAddressPool, type: "Get-Help Remove-SCStaticIPAddressPool -online".
Parameters
StaticIPAddressPool
Required?
true
Accept Pipeline Input?
true (ByValue)
Position?
0
Specifies an IP address pool from which you can assign static IP addresses.
JobVariable
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies that job progress is tracked and stored in the variable named by this parameter.
PROTipID
Required?
false
Accept Pipeline Input?
false
Position?
named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.
RunAsynchronously
Required?
false
Accept Pipeline Input?
false
Position?
named
Indicates that the job runs asynchronously so that control returns to the command shell immediately.
VMMServer
Required?
false
Accept Pipeline Input?
true (ByValue)
Position?
named
Specifies a VMM server object.
Examples
1: Delete a static IP address pool for
a specified subnet
The first command gets the host group with the path of All Hosts\HostGroup02\Production and stores it in the $HostGroup variable.
The second command gets the static address pool named Production IP Address Pool for the host group stored in the $HostGroup variable (including its parent host group if inheritance is enabled) using the IPv4 address for the specified subnet.
The last command deletes the static address pool stored in $IPPool.