Remove All Group Memberships for a User Account

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

 
 
 
 
 
5 Star
(3)
Add to favorites
Active Directory
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • 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.
      
      Thanks
  • How would you do this for a list of names?
    1 Posts | Last post May 29, 2012
    • Anybody know of a good way to run this for a csv or txt file full of accounts?
      
      Thanks