I want to defrag the mailbox store with the command 'eseutil /d priv1.edb'. Does it have to be dismounted before I run that command? I was hoping to put it in a batch file and set it to run on a schedule. But, if it has to be dismounted first, I guess I can't. Unless there is a command that I could put in the batch file that would dismount the store first, defrag it (to reduce size), and then re-mount it.
What do you think?