JamesHeideman Posted October 21, 2017 Report post Posted October 21, 2017 So I'm trying to Automate a few tasks when we have users leave the company. I was wondering if anybody has experience they can lend on how with in a runbook can you remove all the groups (minus domain users) a user is part of? Quote Share this post Link to post Share on other sites More sharing options...
AdinE Posted October 21, 2017 Report post Posted October 21, 2017 Hi James, You might have to write a PowerShell script to read all the Groups the User is a part of, and then put that into an array; after which, pass that through to an Activity to remove the user from the Group. Quote Share this post Link to post Share on other sites More sharing options...