Providing that you have the rights (Domain admin rights is the easiest to make this work) you can use WMI to get the information you want.
You can try this code:
http://www.portalfox.com/modules.php?op=modload&name=News&file=article&sid=1063&mode=thread&order=1&thold=-1Something I forgot to mention in that post is that this code requires Windows XP or better
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges