Have you looked at this Perl sample from the AD Cookbook?

http://techtasks.com/code/viewbookcode/1608

Another alternative is to write your script around Joe's ADFIND (or even 
OldCMP).  ADFIND has the ability to handle the date formats in a user-friendly 
way.

Tony

---------- Original Message ----------------------------------
From: "Ramon Linan" <[EMAIL PROTECTED]>
Reply-To: [email protected]
Date:  Thu, 26 Oct 2006 16:59:20 -0400

Hi,
 
I am trying to do an script or something that will list lastlogontime
for all users so I can receive an email when someone has not use the
account for more than 30 days.
 
I have seen a couple of examples of half built scripts that don't work,
I get lost when they start dealing with the converting the number to a
date...
 
Does anyone has a script will do some similar? does Joe ware has
something similar?
 
Thanks
 
Ramon


 




________________________________________________________________
Sent via the WebMail system at mail.activedir.org


 
                   
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/[email protected]/

Reply via email to