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...

3 comments:

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

    ReplyDelete