-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Describe the bug
get-intersightviewserver automatically pass $inlinecount which is not a supported query param on the resource
To Reproduce
get-intersightviewserver -count $true
Get-IntersightViewServer: Error calling GetViewServerList: {"code":"InvalidUrl","message":"The OData query parameter '$inlinecount' is not supported in query '%24top=1000\u0026%24count=true\u0026%24inlinecount=allpages'.","messageId":"barcelona_odata_unsupported_query_parameter","messageParams":{"1":"$inlinecount","2":"%24top=1000\u0026%24count=true\u0026%24inlinecount=allpages"},"traceId":"JPM43ySuXfOjrmx9c9Eap8cvQJIQEJAxSBfU5fAnlMjn7ytpCYXQGQ=="}
Version used
PSVersion 7.5.3
get-module -name "intersight.Powershell" | Select Version
Version
1.0.11.2025101412
Expected behavior
There should be a way to turn off automatic query params if resources don't support them.