Script to populate/generate MAILBOXES.TXT
Posted on 2006-05-11
Does anyone have a VBS script which will automatically populate the MAILBOXES.TXT file which is used by exmerge?
I need to run a scheduled task which imports a permission into every users mailbox using exmerge.
I have found a script which generates each users pst file, by copying a template pst file I have created (which includes the relevant permission change)
I can also script the Exmerge command, but need the mailboxes.txt file to automatically update with all the entire mailbox list.
The sort of thing I want it to generate is this:
/O=DOMAIN/OU=FIRST ADMINISTRATIVE GROUP/CN=RECIPIENTS/CN=JOE.BLOGGS
for each user.