Scvmm

Find allocated SCVMM IP Pool addresses

Find allocated SCVMM IP Pool addresses

SCVMM allows you create a static IP pool that will act kinda like DHCP, however once the addresses are assigned they stick.  While setting up a service template I needed to release some IPs that had been issued.  In the end it didn’t solve my requirement, but I did find a neat way to see what IPs had been issued

$IPPool = Get-StaticIPAddressPool | where {$_.name -like "<pool name>"}
Get-SCIPAddress -StaticIPAddressPool $IPPool

You could do this in 1 line, but tbh, life is too short 🙂