Saturday, 12 January 2013

SCVMM - Delete IP Pool

Quick PowerShell snippet for handy reference when I'm playing in the lab and need to delete an IP Pool:

##Display all IP's and the VM's they are assigned to:
$ippool = Get-SCStaticIPAddressPool "Internal Network"
Get-SCIPAddress -StaticIPAddressPool $ippool | ft -property Address,Description,State

##Return all the IP's for that pool ready to remove the pool
$ip = Get-SCIPAddress -StaticIPAddressPool $ippool
$ip | Revoke-SCIPAddress

2 comments:

Sarah Freedman said...

Try to download this application from your site, but it turns out that your site works very slowly, and besides you have very old version of this app. So I start to search for another service where I can find that app, and discovered this site https://yepdownload.com/advanced-ip-scanner which turned out very helpful for me, so I surely recommend it for people who want to get this app without any extra effort.

Hannan Aslam said...

This is truly a pleasant and useful, containing all data furthermore greatly affects the new innovation. Much obliged for sharing it, pool contractors charlestonsc