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
Solved

Export Manager Email Distribution List

Posted on 2006-10-26
5
567 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
To show how to create a transport rule 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 >> Rules tab.:  To cr…
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…

839 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