It isn't, it is randomly calculated every time logonTime is updated.
 
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, October 26, 2006 9:49 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] list lastlogontime for every user script

How is this 9-14 day value tracked for each user object, by the way?

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Thursday, October 26, 2006 5:34 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] list lastlogontime for every user script

 

oldcmp

 

Keep in mind that by default, lastLogonTimeStamp is not updated every day, it will be updated about every 9-14 days (14 days with a random swing of minus 0-5 days).

 

You can output to csv or html, whatever is more convenient for you.

 

Alternately if you just want to query the value directly, you can use adfind to generate the output.

 

However, oldcmp tends to be easier for most folks.

 

  joe

 

--

O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 

 

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramon Linan
Sent: Thursday, October 26, 2006 4:59 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] list lastlogontime for every user script

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

Reply via email to