We are on IPAM 4.5
I have everything set up according to the TWACK documentation but none of the IP Address Cmdlets are letting me perform actions, however THIS does work
Get-SwisData $swis 'SELECT TOP 1 I.IpAddress FROM IPAM.IPNode I WHERE Status=2 AND I.Subnet.DisplayName = ''10.8.63.0/24'''
But I dont know all the SQL commands to perform all the tasks that you can with the cmdlets.
When I try the Invoke-SwisVerb with the same account I get:
Invoke-SwisVerb : Access denied
En D:\PowerShell\orion_ipam.ps1: 25 Carácter: 1
+ Invoke-SwisVerb $swis IPAM.SubnetManagement GetFirstAvailableIp @("10 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Invoke-SwisVerb], FaultException`1
+ FullyQualifiedErrorId : SwisError,SwisPowerShell.InvokeSwisVerb
I saw this on another post too, but it was older and no remedy to the issue. Is this a bug? Has it been resolved? OR are there equivalent queries I can run to replicated the functions of the IPAM.SubnetManagement method.
Thanks!