Link to home
Create AccountLog in
Avatar of padas6
padas6Flag for India

asked on

Exchange User details for a Particular DB

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.
Avatar of Neil Russell
Neil Russell
Flag of United Kingdom of Great Britain and Northern Ireland image

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

That will list all users in each database
Avatar of Chris Patterson
Chris Patterson

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

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

ASKER

I just want to add one more column, can I get Email Address as well...
ASKER CERTIFIED SOLUTION
Avatar of Chris Patterson
Chris Patterson

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of padas6

ASKER

Thanks for the help.