Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to get distribution group membership 1

Status
Not open for further replies.

oyazo

MIS
Apr 14, 2008
47
PT
Hello friends,

I use exchange 2007 in my organization. I have a couple of Disribution groups that contain some users.

Can somebody give me script to pull out distribution group members in txt. excel format.

Thank you.

Oyazo
 
Code:
Get-DistributionGroupMember -identity "testdl"| Export-Csv C:\MyFile.Csv

Pat Richard MVP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top