GET-IT: TEAMS DAY | 1-Day Free Virtual Conference all about Teams. Here on Petri.com - 8/12/20 GET-IT: TEAMS DAY - 8/12/20

Login Popup – Last login date and time

Home Forums Scripting General Scripting Login Popup – Last login date and time

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    shades
    Member
    #158949

    Hi,

    Does anyone know how to create a script that would display the last true login date and time in a popup message (AD environment) to the user?

    I’ve found many variations but none display the true date and time. They display only the current login date and time because they’re run after the login occurs.

    http://www.rlmueller.net/Logon5.htm

    http://community.spiceworks.com/scripts/category/3

    I currently use the following for logon and logoff:


    @echo
    off

    echo %USERNAME% has logged on to %COMPUTERNAME% on %DATE% at %TIME% >> [URL=”file://\serverlogslogon%USERNAME%.log”]\serverlogslogon%USERNAME%.log[/URL]

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.