• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 416
  • Last Modified:

get list of mailboxex with CN


I'm trying to get a list of users with the corresponding distinguishedname field on it.

In EMC when I execute the command
Get-MailboxDatabase DBNAME | Get-MailboxStatistics | ft displayname, distinguishedname

Open in new window

I get a list with all users in that database but the distinguishedname field is empty

What is the correct command to list all users by distinguishedname?
1 Solution
Bes4dminAuthor Commented:
never mind, I found it
Just typed
Get-Mailbox | ft distinguishedname

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now