PowerShell to Remove Users from Cross Domain Groups

This post was originally published on this site

How would you remove over 1,000 users from 10 different AD groups?” Another engineer on my team asked me this, and my answer without a beat, PowerShell.

The work environment has many different domains and several forests. So this shouldn’t be a difficult process. So I started with the simple approach, of getting the Users.txt and Groups.txt imported as variables.… Continue reading

The post PowerShell to Remove Users from Cross Domain Groups appeared first on Notes of a scripter.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.