Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Active Directory > Exporting Info from AD

Reply
Thread Tools Display Modes

Exporting Info from AD

 
 
Zoddy
Guest
Posts: n/a

 
      09-10-2008
If I have a particular field lets say the attribule EmployeeId for example,
how can I export the value of the EmployeeID for all users in the domain?
 
Reply With Quote
 
 
 
 
Richard Mueller [MVP]
Guest
Posts: n/a

 
      09-10-2008

"Zoddy" <> wrote in message
news:BD01E832-0202-4D0F-B1E6-...
> If I have a particular field lets say the attribule EmployeeId for
> example,
> how can I export the value of the EmployeeID for all users in the domain?


I would recommend using Joe Richards' free adfind.exe utility:

http://www.joeware.net/freetools/tools/adfind/index.htm

It probably can also be done with dsquery and dsget, but I never can figure
out the syntax. In a VBScript program you can use ADO. For more see this
link:

http://www.rlmueller.net/ADOSearchTips.htm

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


 
Reply With Quote
 
Paul Bergson [MVP-DS]
Guest
Posts: n/a

 
      09-11-2008
I would also recommend adfind. This is a freeware utility found at:
http://joeware.net/freetools/tools/adfind/index.htm

Example:
Want to find all users in your organization that don't have a home folder
defined?
adfind -f
"(&(objectCategory=person)(objectClass=user)(!(hom eDirectory=*)))" -b
"ou=users,dc=YourDomain,dc=com" samaccountname homeDirectory -list






--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.

"Richard Mueller [MVP]" <rlmueller-> wrote in
message news:%...
>
> "Zoddy" <> wrote in message
> news:BD01E832-0202-4D0F-B1E6-...
>> If I have a particular field lets say the attribule EmployeeId for
>> example,
>> how can I export the value of the EmployeeID for all users in the domain?

>
> I would recommend using Joe Richards' free adfind.exe utility:
>
> http://www.joeware.net/freetools/tools/adfind/index.htm
>
> It probably can also be done with dsquery and dsget, but I never can
> figure out the syntax. In a VBScript program you can use ADO. For more see
> this link:
>
> http://www.rlmueller.net/ADOSearchTips.htm
>
> --
> Richard Mueller
> MVP Directory Services
> Hilltop Lab - http://www.rlmueller.net
> --
>
>



 
Reply With Quote
 
Venkat
Guest
Posts: n/a

 
      09-12-2008
Hi Zoddy,

You could use MS Native utility CSVDE:

csvde -f employeeid.csv -r "(&(objectClass=User)(EompyeeID=*))"

Regards
Venkat

"Zoddy" <> wrote in message
news:BD01E832-0202-4D0F-B1E6-...
> If I have a particular field lets say the attribule EmployeeId for
> example,
> how can I export the value of the EmployeeID for all users in the domain?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting user info Glenn Clark Windows Server 3 10-10-2008 12:25 PM
Exporting Wmp Info in Vista to Excel Tom292 Windows Vista Music, Pictures and Video 0 08-07-2008 05:32 PM
WMP11b2: Find vs. Update album info; Automatic changes to tag info jeff_1971 Windows Media Player 0 10-30-2006 01:11 PM
Exporting Info from Active Directory. David Parkes Windows Small Business Server 0 05-23-2006 08:05 AM
Info Center View+Muze, user info and other input BraveHeart45 Windows Media Player 0 05-06-2005 05:38 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59