Link to home
Start Free TrialLog in
Avatar of bruce_77
bruce_77

asked on

List/ count of mailboxes on Exchange 2010 server

Hi

Running Exchange 2010 SP1. We have one DAG across two sites.

One of the servers needs some maintenance, LONMBX1. I need to verify the number of mailboxes on this server and their names before we reboot.

Does anyone know how I can do this? With Exchange 2007, I could go into the EMC and filter for "Server" when pulling a list of mailboxes. This is not possible with Exchange 2010, there is no way to filter mailboxes by Server.

Is there a Powershell command I can run to get the names of mailboxes on this server and the count?
ASKER CERTIFIED SOLUTION
Avatar of LindyS
LindyS
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Attached is a simplified command which list all the mailboxes on the specified server then also returns the statistics for these mailboxes.

hope this is what your looking for.
get-mailbox | where{$_."servername" -eq "lonmbx1"} | get-mailboxstatistics

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial