Querying AD database - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 08-17-2006, 02:58 PM   #1 (permalink)
Junior Techie
 
Join Date: Jul 2006
Posts: 55
Default Querying AD database

Just curious to know if anyone has experience with writing scripts or utilities which query the Active Directory database. There are certain attributes which I would like to query (ie last login time, etc) which I'm not aware of being easily accessible.

I've never queried against the AD DB, but I see in MS KB articles that it can be done using VBScript + ADO. Can anyone provide me with any information regarding ADSI, or the schema of the AD database which would prove useful?

Thanks.
__________________

__________________
\"A revolution without dancing is a revolution not worth having.\" V, V for Vendetta
jmhill1976 is offline  
Old 08-17-2006, 03:10 PM   #2 (permalink)
Junior Techie
 
Join Date: Jul 2006
Posts: 55
Default

For anyone else that's interested ...

Start Here >>
__________________

__________________
\"A revolution without dancing is a revolution not worth having.\" V, V for Vendetta
jmhill1976 is offline  
Old 08-17-2006, 03:17 PM   #3 (permalink)
Monster Techie
 
Join Date: Apr 2005
Posts: 1,909
Send a message via AIM to jcortes
Default

i think this belongs in the programming section.
__________________

AIM = jcortestechhelp
jcortes is offline  
Old 08-17-2006, 04:11 PM   #4 (permalink)
Junior Techie
 
Join Date: Jul 2006
Posts: 55
Default

Quote:
Originally posted by jcortes
i think this belongs in the programming section.
Not really. Windows System Administration, specifically advance Active Directory. But thanks for contributing to the thread.
__________________
\"A revolution without dancing is a revolution not worth having.\" V, V for Vendetta
jmhill1976 is offline  
Old 08-17-2006, 04:59 PM   #5 (permalink)
Newb Techie
 
Join Date: Jan 2006
Posts: 3
Send a message via AIM to Crshburndwilson
Default

I may be really off here and probably am since i am new to the whole AD enviroment, but could you possible use the command line utlitiy and just do a " dsquery /?" command to see what all switches are used and which ones you need.
Crshburndwilson is offline  
Closed Thread

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 01:56 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.