Where’s my database gone!?

 

I needed to reboot a server tonight and thought I should double check that the databases had mounted so I ran the below command

Get-MailboxDatabase |FL name,*mounted*

Name : DAG1
MountedOnServer :
Mounted :

Much to my horror the results showed that the database wasn’t mounted! After checking the EMC the database was in fact mounted and after some googling I found that I had forgotten the -Status cmdlet

Get-MailboxDatabase -Status |FL name,*mounted*

Name : DAG1
MountedOnServer : EXC01.****.com
Mounted : True

Just a FYI there’s no need to update the resume just yet, check your script first đŸ™‚

Leave a comment