Hi,
a dumb question maybe: Have you tried with this script:
Automating OpsMgr Part 10: Deleting Groups
https://blog.tyang.org/2015/07/27/automating-opsmgr-part-10-deleting-groups/
Regards,
Stoyan
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I try to delete groups in SCOM 2016 by powershell script. This works for all groups, exept they are subgroups of another group. How can I remove the subgroup relationship by script to be able to delete this group in the next step?
Thank you!!
Hi,
a dumb question maybe: Have you tried with this script:
Automating OpsMgr Part 10: Deleting Groups
https://blog.tyang.org/2015/07/27/automating-opsmgr-part-10-deleting-groups/
Regards,
Stoyan
Hi Stoyan,
yes, I already saw that script and included the part of deleting monitors targeting the group in my script.
Nevertheless it doesn't work for subgroups.
Kind regards,
Uwe
I'm still looking for a solution. Any ideas appreciated!