We help IT Professionals succeed at work.

Exchange User details for a Particular DB

padas6
padas6 used Ask the Experts™
on
I have stortage of space issues in one of the DB, I want to know who are part of this DB. Please suggest how to get the user details.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Neil RussellTechnical Development Lead

Commented:
Get-Mailbox | Sort database, name | Format-Table name, database

That will list all users in each database
Chris PattersonSenior Systems Engineer

Commented:
get-mailbox -database "database name" | Format-Table name, database

This command will allow you specify a single database as opposed to your entire environment.

Author

Commented:
I just want to add one more column, can I get Email Address as well...
Senior Systems Engineer
Commented:
get-mailbox -database "database name" | Format-Table name, database, emailaddresses

Author

Commented:
Thanks for the help.