Script to detail DAG mount status
We have about 100 DB's in our DAG. Each DB can be on one of 5 Exchange 2010 mailbox servers. I would like a script that would tell me which server the DB's are mounted on and output this to an Excel sheet. Does anyone know if this is possible?
April 7th, 2012 3:11pm

Actually, this little jewel might be even better than a simple script: http://www.stevieg.org/2011/06/exchange-environment-report This is an EMS script that you run on an Exchange server and it creates an excellent HTML report for you. It was very easy to get up and running and gives a nice report of your databases, number of mailboxes, hosted server, and more. Exchange MVP Steve Goodman created this. Jim McBee - Blog - http://mostlyexchange.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
April 7th, 2012 3:33pm

Actually, this little jewel might be even better than a simple script: http://www.stevieg.org/2011/06/exchange-environment-report This is an EMS script that you run on an Exchange server and it creates an excellent HTML report for you. It was very easy to get up and running and gives a nice report of your databases, number of mailboxes, hosted server, and more. Exchange MVP Steve Goodman created this. Jim McBee - Blog - http://mostlyexchange.blogspot.com
April 7th, 2012 10:26pm

Hi Please try the command Get-MailboxServer | Get-MailboxDatabaseCopyStatus -Server $_.name | where {$_.Status -like "*mounted"} | ft databasename, status | Export-CSV <FilePath> Cheers Zi FengZi Feng TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
April 8th, 2012 10:24pm

Hi Please try the command Get-MailboxServer | Get-MailboxDatabaseCopyStatus -Server $_.name | where {$_.Status -like "*mounted"} | ft databasename, status | Export-CSV <FilePath> Cheers Zi FengZi Feng TechNet Community Support
April 9th, 2012 5:17am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics