Pau Lo
asked on
shell command to get an inventory of all mailboxes and distribution lists.
is there a way in exchange server to get a full report of all mailboxes, which AD account they are associated with (mailbox owner?), and all distribution groups. Just a really basic list of all mailboxes and distribution groups in a single report, showing type, e.g. this is a mailbox, this is a distribution list, written to CSV. Similar I suppose to a full version of the global address list in outlook but also showing hidden entries, but to easily show which items are mailboxes and which are distribution lists.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Run the following command in your Exchange Management Shell
Get-Recipient -ResultSize Unlimited | Select DisplayName, PrimarySmtpAddress,SamAcco