Solved

Export Manager Email Distribution List

Posted on 2006-10-26
5
570 Views
Last Modified: 2013-12-03
Hello,

I know you can export all user in AD but can you export only Manager Email Distribution List?

thank you
0
Comment
Question by:HOPE-IT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 15

Expert Comment

by:wwwally
ID: 17815413
Use the following and the users wil show in the text file.
dsquery group -name YourGroupname | dsget group -members | dsget user -display > c:\output.txt

Good luck,

Walter
0
 
LVL 1

Author Comment

by:HOPE-IT
ID: 17815442
Hi Walter,

Could you please show step-by-step how to get to it?

thanks again
0
 
LVL 15

Accepted Solution

by:
wwwally earned 300 total points
ID: 17815775
Just open a cmd and type the following line:
dsquery group Yourgroupname (this is the name of the distribution group) | (pipe) dsget goup -members (this wil show the members of the group) | dsget users -display (will show the display name of the users who are a member of the group) > c:\output.txt (this will output it to a text file)

You can start on a windows 2003 machine at the command promt by typing " dsquery group groupname" and see the output on your screen.
this output will be piped to the next ds command (dsget group -members) for the next stage of the output.
In the last part you can define what you want to see of the users (-displayname -email -office).

For mor info on dsget and dsquery use the dsget /? dsget user /? dsquery group /? enz..

Good luck,

Walter
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question