rmbolger / Posh-IBWAPI

PowerShell module for interacting with the Infoblox WAPI (REST API).
MIT License
54 stars 8 forks source link

Get-IBObject throwing "Paging is not supported for this WAPI version." #7

Closed rmbolger closed 7 years ago

rmbolger commented 7 years ago

If a client has set -WAPIVersion to less than 1.5 and calls Get-IBObject using the -ObjectType parameter, the following error message is thrown.

AdmConProtoError: Paging is not supported for this WAPI version.

Apparently paging support was not added until WAPI version 1.5. And because Get-IBObject calls that aren't specifying a specific object reference attempt to use paging by default, this will throw an error.

Until we work around this limitation in code, the easiest fix is to only use WAPI version 1.5 or later.

rmbolger commented 7 years ago

Fixed in ad2bf82ce375c4c7b4447ecd85ff8213dedf73a5