Just a question
Closed this issue · 2 comments
Twisted64 commented
I'm sorry if this appears extremely silly, but I seem to be receiving flattened html when I run queries like Get-nbIPAddress (in fact any of the powerbox queries). It's certainly html from the correct response page on our netbox server.
Is that actually what I should be expecting? I've been using python and pynetbox, so perhaps I've been corrupted/spoilt, but I was hoping for some kind of PowerShell object...?
Thanks in advance, Oliver
Twisted64 commented
If that doesn't make any sense, here's a query after connecting.
> Get-nbIpAddress -Query @{ipaddress="10.40.19.9/30"}
_lookups _CustomProperties Length
-------- ----------------- ------
{} {} 80829
Twisted64 commented
It's because I didn't include /api on the end of the APIurl!
All better now.