Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 08-17-2006, 02:58 PM   #1 (permalink)
 
Junior Techie

Join Date: Jul 2006

Posts: 55

jmhill1976

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

jmhill1976

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

jcortes is on a distinguished road

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

jmhill1976

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

Crshburndwilson

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 On