Exchange Command Shell
Hi Friends, I am trying to get list of all users from 30 different DL's across my forest where users added into DL and they are from different domains. I have already tried following commands: Get-DistributionGroupMember -identity "DLName" >C:\DL.txt Get-DistributionGroupMember -identity "DL Name" - DomainController "Domain Controller name" > D:\Saed\MyFile.Csv No Error but exported file is of Zero KB. No data fetched in it. Anybody can suggest me Command where I can export users details from 30 different DL's. Thanks Pravin Sangwan Email: pravinsangwan@gmail.com
October 27th, 2010 6:58am

Hi, I assume that you are in Exchange 2010. (The solution given beow is Not applicable to previous versions) While getting details of users from different domains, when you run the Get-DistributionGroupMember command for a distribution group, the command does not return all the members of the distribution group from the other child domain. Instead, you may receive error message. To resolve this issue, type the cmdlet:Set-ADServerSettings -ViewEntireForest $True Run the Get-DistributionGroupMember command to retrieve all the members of the distribution group.Regards from www.windowsadmin.info
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2010 7:09am

I missed out to mention that I am working on Exchange 2007. But Thanks I got the basic Idea. Issue Resolved.
October 27th, 2010 8:26am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics