check out this link.

http://www.myitforum.com/articles/view.asp?t=Retrieving+the+List+of+Old+Doma
in+Computer+Accounts&id=436&z=1&s=VB+Scripting

-----Original Message-----
From: Alexander Kha Do [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 1:03 PM
To: NT 2000 Discussions
Subject: ADSI Scripting - Computer Account last used


When you open ADUC, and open properties for any computer account, there
is a tab that is labeled "Object."  Under that tab, there is a
"Modified" field that lists the date the computer account last renewed
itself.  I want to write a VBscript using ADSI that retreives this date
in some way, but I can't find the stinking IADs interface in ADSI to
tell me the date!!!

I just want to do this to move dead computer accounts into a DEAD PC's
OU, and delete them later.  Can anyone help me??

=========================
Alex Do
Desktop OS Specialist
Information Technology Services
Occidental College
(323) 259 1428
Fax: (323) 341 4895
1600 Campus Road
Los Angeles, CA 90041


------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to