How to return unused IPs to a SCVMM IP Pool – with PowerShell

Hi there,

after some time unused IPs will accumulate in your IP Pools. To free them of their caged misery and more importantly give them back for further usage you can use some simple powershell code to achieve this.

An IP Pool will look something like this after some time. Without the customizations in Paint obviously 😉

SCVMMIPPools01

You could select each IP in each pool and use the little release button at the bottom (fun, if you like repetetive tasks), but with this little one liner you will get rid of all unassigned IPs at once.

You can also set this script up, as a scheduled task to run it every day.

After that your IPs are free again and can roam your IP ranges as they should!

Cheers Philipp

One thought on “How to return unused IPs to a SCVMM IP Pool – with PowerShell

Leave a Reply

Your email address will not be published. Required fields are marked *