Forum Discussion

EVMan's avatar
EVMan
Level 4
14 years ago
Solved

forcefully disable mailboxes using sql script

Hi

 

We have around 1k leavers mailboxes of which EV has successfully archived off all mail from their mailboxes.

Our service desk will cleanup the mailboxes in exchange 2003 now we are happy the mail is in their archives.

I now need to disable all of these mailboxes from EV as they will no longer have a mailbox.

 

is there :-

 

1) a sql script we can run on the database to disable these users' mailboxes on mass rather than go through the wizard in EV? We can then drop the mailbox aliases into this script to do all the mailboxes.

2) any way to script renaming these disabled users' archives to prefix them with _Leaver_mailboxalias

3) use a tool to strip out permissions on these archives and specify just a couple of security objects on there.

 

Thanks

1 Reply