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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...