How do I mount an Exchange mail store from the Windows Command Line?

Posted by Cypher on Server Fault See other posts from Server Fault or by Cypher
Published on 2011-01-29T20:03:04Z Indexed on 2011/01/29 23:27 UTC
Read the original article Hit count: 270

Our Exchange server is running Exchange Server 2003 Standard on the Windows Server 2003 platform. We're dealing with the mail store size issue, where if the mail store goes over the limit, it gets dismounted.

While we are working with the powers-that-be on a policy that will prevent this happening in the future, I would like to see if it is possible to re-mount the mail store via the Windows CLI. I'm already monitoring the Event Logs and alerting on mail store warnings and dismounts - I'm just tired of getting up at 5am to manually re-mount the store while the political wars ensue.

My alerting tools have the ability to execute a batch script when an alert is generated. I would greatly prefer a native CLI option. I'm not too keen on running some random vbscript found on the Internet and I don't really care to spend my time debugging someone else's code. PowerShell might be an option, if it can be triggered from the CLI.

© Server Fault or respective owner

Related posts about email

Related posts about exchange