Hi Team,
We try to get the free IP’s details from IPAM and we have run the below command, but it’s not working and we are getting below error need your help on this.
$hostname = "10.218.x.x"
$username =
$password =
$cred = New-Object -typename System.Management.Automation.PSCredential -argumentlist $username, $password
$swis = Connect-Swis -host $hostname -Credential $cred
Get-SwisData $swis -Query 'SELECT TOP 1 I.Status, I.DisplayName FROM IPAM.IPNode I WHERE Status=2 AND I.Subnet.DisplayName = ''APR1*'''
OR
Invoke-SwisVerb $swis IPAM.SubnetManagement GetFirstAvailableIp @("199.10.1.0", "24")
