Hi,
I was trying to run the PowerShell code from here https://www.adaxes.com/sdk/IAdmRuleBasedGroupQueries/ and faced this error
Method invocation failed because [Softerra.Adaxes.Adsi.AdmService] does not contain a method named 'GetRemoteObject'.
At line:1 char:1
+ $queries = $service.GetRemoteObject("ADM_SERVICEOBJECTID_RULEBASEDGRO ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : MethodNotFound
It seems with version 2025 the command is now called GetServiceObject
If I find more of these outdated examples and scripts, should I post them here? A new question? Or via email better?