Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I use Vb to remove users from exchange 1

Status
Not open for further replies.

wombatbill

Programmer
Jul 10, 2001
8
GB
I need to remove a lot of users (approx 300) on a regular basis from Exchange. The users to be removed can be identified by there payroll Id which is held in one of the Custom Attribute fields. I feel sure there must be a way to do this, any guidance would be most appreciated.

 
Hi

Its been some time now and still no ideas, I cannot believe that I am the only person who has ever needed to do this.

Any ideas HELP HELP

Bill G.
 
Are you using Win2000/Exchange 2000?
If so this may help
set objuser = GetObject(user's object'LDAP://CN=user,OU=OUName,OU=OUName,DC=domain,DC=com)
objuser.DeleteMailbox
objuser.SetInfo
 
Hi
Unfortunately still using Exchange 5.5 on Windows NT. On my PC still running Windows 95 but do have access to a Windows NT system if required.

With the above scenario is there any way I can delete multiple users based on the users payroll ID as mentioned in the original question

Thanks

Bill G.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top