Link to home
Start Free TrialLog in
Avatar of techgenious
techgeniousFlag for United States of America

asked on

Distribution lists in exchange 2007

How do I find out all the distribution lists a user [mailbox] is a member of.

I have a user and I need to know what DL's he is a member of?

I would like to do this via power shell.

Thanks
Avatar of needleboy
needleboy
Flag of Serbia image

Open Outlook and type users mail address in new mail message.
Click check names in Outlook bar, and user real name wil be displayed with bold text.
Double click user name and check for group membership in dialog box.
Or
EMS
Get-mailbox "<display name>" | fl displayname, *member*
Avatar of techgenious

ASKER

The above did not give me a list of all the distribution lists the user is a member of.

Is there another command.

I need to know what Distribution lists he is a member of so I can remove him.
Why not just do it through EMC? EMC-->recipient
ASKER CERTIFIED SOLUTION
Avatar of MegaNuk3
MegaNuk3
Flag of United Kingdom of Great Britain and Northern Ireland 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
I ran the script and nothing shows up.
Could it be he is not a member of any DLs.

There is no output from this script
Try it against an account that you know has distribution Group membership like your account