Solved

Export Manager Email Distribution List

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchnage ./. Sophos Web Application Firewall 5 13
Exchange 2016 Installation 8 36
EXCHANGE 2013, EXCHANGE 2007 6 38
How to change fonts in windows live mail 3 17
Read this checklist to learn more about the 15 things you should never include in an email signature.
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
In this video we show how to create a mailbox database 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 Servers >> Data…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

713 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