Help
Last Logon Export By Organizational Unit Print E-mail
1 Vote
Written by Carlton Colter   
Thursday, 15 June 2006 00:00

I can't remember where I found the code to format the logon time. If I could, I'd give them the credit. This script searches ad to export the last logon time for each user. If you're trying to get the logon time of a particular user then you should register the acctinfo.dll from the Windows Resource Kit and the information will be viewable from Active Directory.

With some minor modifications, it can be scheduled to run daily using scheduled task, then run to export to a folder.

Script Code:

Last Updated ( Monday, 07 July 2008 13:42 )
 

0 Comments

Add Comment


    • >:o
    • :-[
    • :'(
    • :-(
    • :-D
    • :-*
    • :-)
    • :P
    • :\
    • 8-)
    • ;-)



    Click to get a new image.