How To Get A list Of All Mounted Databases on Exchange Server

In a DAG Environment, where you have got multiple exchange servers in a DAG it’s important to know the exact number of databases on each server to make sure no server has more load than the other and all databases are equally balanced across the servers in DAG.

Following command will give you the number of mounted databases on a specific server in a DAG. Please replace exchsrv1 with the correct server name in your environment before executing this command.

(get-mailboxdatabasecopystatus -server exchsrv1 | ?{$_.status -like “mounted”}).count

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Create a website or blog at

Up ↑

%d bloggers like this: