Discussion Locked

Mass Removal Of Exchange Recipients

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

In our Organisation we tend to remove users on a monthly basis. We've managed to script the removal of users, associated share information and Home area files, however we are currently struggling to complete the the equation with a removal of the appropriate Excange information and we are currently completing this specific stage manually

Does anyone have any suggestions for Automating the removal of Exchange mailbox's

Doug Handley

5 replies

by adam.stone

In exchange administrator program, click on TOOLS, OPTIONS and select the Permissions tab. Select the option to DELETE PRIMARY WINDOWS NT ACCOUNT WHEN DELETING MAILBOX.
Now every time you select a mailbox and delete it, it will prompt you with a message "Do you want to delete NT account".
Selecting yes will delete the mailbox and NT account.

by doug.handley

Thankss for responding but unless I'm missing something your answer doesn't really help, I don't have a problem removing the NT user accounts, Basically the script I run removes the NT account and provides a text file listing of all Accounts removed. This part works fine. The script is run Monthly and with a high turnover of staff sometimes the leavers can be quite high. I therefore I want to script/Automate the removal of the Exchange Account.

I guess from your suggestion I'm looking for an option as follows
DELETE MAILBOX When DELETING PRIMARY WINDOWS NT ACCOUNT which is the opposite of your suggestion

by doug.handley

Thanks for responding but unless I'm missing something your answer doesn't really help, I don't have a problem removing the NT user accounts, Basically the script I run removes the NT account and provides a text file listing of all Accounts removed.This part works fine. The script is run Monthly and with a high turnover of staff sometimes the leavers can be quite high. I therefore I want to script/Automate the removal of the Exchange Account.

I guess from your suggestion I'm looking for anoption as follows
DELETE MAILBOX When DELETING PRIMARY WINDOWS NT ACCOUNT which is the opposite of your suggestion

This discussion is closed to new replies.