Thursday, December 16, 2010

Get Mailbox Database Mount Status

Wondering why when you run the Get-MailboxDatabase you don’t see if the database is Mounted or not? This value might be especially useful when writing a monitoring script, for example. And yes, I was also wondering for a while...

All we have to do is add –status to the cmdlet:

and voila!   :)
Don't ask me why though...


  1. good one buddy !!

  2. You can also use Get-MailboxDatabaseCopyStatus, which is particularly useful in a DAG