Re: Export Usernames and Email Addresses
From: Herb Martin (news_at_LearnQuick.com)
Date: 02/10/05
- Next message: Don Wilwol: "Re: Creating User Accounts"
- Previous message: Jerold Schulman: "Re: How to export users and pwd from one domain and import in a new on"
- 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 11:50:30 -0600
"Dave B" <dbenivegna@sargentlock.com> wrote in message
news:125d01c50f8b$3413f0c0$3a01280a@phx.gbl...
> 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?
Well in some sense yes but you can probably use the Win2003
DSGet command -- it is far more capable than the Net commands.
DSGet user /?
( -email = address seems promising)
You may also need to combine this with a preliminary DSQuery User
to get all of the User names for processing by DSGet.
I.E., DSQuery finds the users, DSGet displays the attributs for a
particular (set of) user(s).
DSQuery user /?
You can also look into the ADSI ScriptOMatic by searching
Microsoft for it....
Google: [ site:microsoft.com ADSI ScriptOMatic ]
(It helps (non-) programmers write useful scripts.)
- Next message: Don Wilwol: "Re: Creating User Accounts"
- Previous message: Jerold Schulman: "Re: How to export users and pwd from one domain and import in a new on"
- 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
|