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?
\"A revolution without dancing is a revolution not worth having.\" V, V for Vendetta