Remove All Group Memberships for a User Account

Removes the MyerKen user account from all Active Directory security groups.

5 Star
Add to favorites
Active Directory
E-mail Twitter Digg Facebook
  • How can I use this in a batch file?
    1 Posts | Last post September 16, 2013
    • If I create a batch file where I enter in a users name and it finds the distinguished name, is there a way to use cscript to call the VB script and pass the distinguished name to it and have the VB script remove the memberships? This would only be a part of a larger batch file that would process the removal of a user from our AD environment.
  • How would you do this for a list of names?
    1 Posts | Last post May 30, 2012
    • Anybody know of a good way to run this for a csv or txt file full of accounts?