About Me
Blog Archive
- January 23 (2)
- January 9 (1)
- December 26 (3)
- October 31 (2)
- October 24 (2)
- August 8 (1)
- June 27 (1)
- May 16 (3)
My Blog List
Saturday, October 30, 2010
iPhone Exchange Mail Configuration Setup
Exchange 2007 Command Shell for Forest
- 0
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
Answers
- Vote As Helpful
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- Marked As Answer byPravin Sangwan Wednesday, October 27, 2010 12:21 PM
All Replies
- Vote As Helpful
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- Marked As Answer byPravin Sangwan Wednesday, October 27, 2010 12:21 PM
- 0I missed out to mention that I am working on Exchange 2007. But Thanks I got the basic Idea. Issue Resolved.
Followers
Popular Posts
-
The Exchange 2007 transport pipeline consists of the following components and processes: SMTP Receive When an Email is received at the Ed...
-
Implementation CCR for Exchange 2007 Parts of the Documentation: Introduction to the Lab Setup Brief on installation of Domain Controller ...
-
Lets assume a Mail is send by a user to a recipient. As soon as an Outlook users sends an email, the Microsoft Exchange Mail Submission se...
-
Experience with WIPRO ( Infotech Group) Guys I would like to share my experience with WIPRO when I was working for Gujarat Gas on franchi...
-
EV 9.0.1 early release has been made available to partners which provides support to Outlook 2010 (screen shots attached). For EV 8 SP4, su...
-
Pravin Sangwan 0 Hi Friends, I would like to know can we actually rename edb file in exchange 2007 and mount the database connecting to it?...
-
Hi Guys, I was facing this issue quite often which says, Nero 7014 Could not perform end of Disc -at- once . I googled it found that lot of...
-
My First Exchange 2007 Installation on Windows 2003 SP2 64 Bits. It was back in March 2010, where I wanted to start learning Microsoft Exch...
-
Switch Description /a Creates an item with the specified file as an attachment. Example: "C:\Program Files\Microsoft Office\Office11\...