I'm trying to accomplisch the same, any luck finding the IP allocations in PowerCLI?
Not exactly...the get-externalnetworks cmdlet when run against my env will give me the UsedIpCount and TotalIpCount, so it helps me to know when I am running low on available IP's, but what I really want is a nice, neat table that lists every Org and their Sub-allocate IP Pool list. I think I am looking in the wrong place...since this is Org specific, it must be something that can be provided in one of the other cmdlets
I know this is an old thread but did you ever find your answer? I can list the allocated IP addresses but need to also list the sub-allocated IP addresses. My goal is to have a powercli script that will show me the available IP addresses on the external network. I have found some documentation in the API but I am not versed enough with API to know how to do so. Here is what I have done in powercli / powershell to list the allocated IPs:.
$vcloud = Read-Host "enter your vCloud address"
$externalnetwork = Read-Host "enter your external network name"
#Connect to vCloud
Connect-CIServer -Server $vcloud
$ExtNet = Get-ExternalNetwork -Name $externalnetwork
#Get Allocated IP Addresses