export distribution group with members
Hi guys,
i need to export all distribution group with members and tryed this command :
Get-DistributionGroup |Get-Group -ReadFromDomainController |select alias,members
but doesnt' work :(
Anybody have a idea?
Thanks in advance.
July 27th, 2011 5:24am
Get-DistributionGroup |Get-Group -ReadFromDomainController |select name,members
on Exchange 2007 SP2 works perfectly, can you print out the error?System Administrator
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2011 6:37am
yeah!
i used "alias" but with "name" work fine!
thanks you.
July 27th, 2011 7:32am
This script works real good compared to just trying to string together native commands
http://theessentialexchange.com/blogs/michael/archive/2011/07/21/generating-a-report-on-distribution-groups-and-their-membership-v2.aspxDJ Grijalva | MCITP: EMA 2007/2010 SPA 2010 | www.persistentcerebro.com
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2011 9:34am
Great!
Thanks 1K.
July 27th, 2011 11:34am