solarwinds / OrionSDK

SDK for the SolarWinds Orion platform, including tools, documentation, and samples in PowerShell, C#, Go, Perl, and Java.
https://thwack.com/OrionSDK
Apache License 2.0
397 stars 139 forks source link

Get-SwisObject not providing all object types for groups #307

Open thefreakquency opened 2 years ago

thefreakquency commented 2 years ago

The following command to obtain Members of a Group: Get-SwisObject $swis -Uri 'swis://HOSTNAME/Orion/Orion.Groups/ContainerID=13/Members' returns:

Get-SwisObject : Invalid key properties specified for entity Orion.ContainerMembers.
Parameter name: filter
At line:1 char:1
+ Get-SwisObject $swis -Uri 'swis://HOSTNAME/O ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Get-SwisObject], FaultException`1
    + FullyQualifiedErrorId : SwisError,SwisPowerShell.GetSwisObject

Similar errors for the following objects:

Only the following works: