Mass User Delete for Groups

0 Likes

I created this a while back, in addition to my mass user add tool; when I got tired of manually adding 150 users for a new application deployment. This tool will allow you to select a text file and delete all of the users from the file in a group (without using LDIF or another tool). It will search the tree for your group (and confirm the group) then it will confirm the user list before deleting them from the group.



A couple things to mention:



  • The executable will unpack 3 (Winbatch) .dll's when you launch it.


  • If you have multiple groups of the same name (different contexts) it will select the first one (I believe).


The delimiter for the users is CLRF (carriage return)

  • If you have any additional lines at the end of the text file the tool will hang (and eventually bomb) after adding the users.


  • This utility writes successes and failures to log files under C:\Temp.


I will include the Winbatch source for anyone who would like to check what this is doing behind the scenes. I cannot guarantee this won't bork up your network.

Labels:

Collateral
Comment List
Anonymous
Related Discussions
Recommended