Re: Export Usernames and Email Addresses
From: Jerold Schulman (Jerry_at_jsiinc.com)
Date: 02/10/05
- Next message: Don Wilwol: "Re: How to export users and pwd from one domain and import in a new on"
- Previous message: Don Wilwol: "Re: Creating User Accounts"
- In reply to: Dave B: "Export Usernames and Email Addresses"
- Next in thread: Jerold Schulman: "Re: Export Usernames and Email Addresses"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 10 Feb 2005 13:13:08 -0500
On Thu, 10 Feb 2005 08:11:39 -0800, "Dave B" <dbenivegna@sargentlock.com> wrote:
>Hello,
>
>I am trying to export usernames and email addresses from a
>particular user group in Active Directory. I can export
>users from the group using the NET GROUP command in DOS but
>that doesn't include email addresses. Do I have to use a
>LDAP query or is there an easier way to do it?
>
>Many Thanks!!
>
>Dave
DSQUERY / DSGET from the Active Directory command-line tools. See tip 6820 in the 'Tips & Tricks' at http://www.jsiinc.com
See tip 7714.
Type the following at a CMD.EXE window for an example:
dsquery group -name "Domain Admins"|dsget group -members|dsget user -samid -email -display
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
- Next message: Don Wilwol: "Re: How to export users and pwd from one domain and import in a new on"
- Previous message: Don Wilwol: "Re: Creating User Accounts"
- In reply to: Dave B: "Export Usernames and Email Addresses"
- Next in thread: Jerold Schulman: "Re: Export Usernames and Email Addresses"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|