Hi Richard,
I am not quite sure what do you mean exactly with
"I cannot find a property to pass the get-scomgroup function to achieve this"
Can you please give an example?
What is the problem of getting all the empty groups and removing those, using this (uses the SDK) for example:
Automating OpsMgr Part 10: Deleting Groups
Thanks and Regards,
Stoyan