Jump to content




Sign in to follow this  
JamesHeideman

Remove AD user from all Groups



Recommended Posts

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?

Share this post


Link to post
Share on other sites


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. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


×