Solved

Retrieve Lastlogged on user to a computer

Posted on 2015-02-05
4
62 Views
Last Modified: 2015-03-03
I need a powershell command that can retrieve the last logged on user name to a computer.
this is Windows domain.
I found Powershell commands that retrieve current logged on user, but not the last logged on user if the computer has no one logged on to it at the current time.

Any Help?

Thank you
0
Comment
Question by:jskfan
4 Comments
 
LVL 7

Accepted Solution

by:
DrAtomic earned 250 total points
ID: 40590813
0
 
LVL 4

Assisted Solution

by:Praveen Kumar Bonala
Praveen Kumar Bonala earned 250 total points
ID: 40590921
Hi,
here is a step by step solution for your requirement

https://4sysops.com/archives/track-user-logons-with-a-powershell-script/
0
 

Author Comment

by:jskfan
ID: 40609081
Thank you
0

Join & Write a Comment

"Migrate" an SMTP relay receive connector to a new server using info from an old server.
Synchronize a new Active Directory domain with an existing Office 365 tenant
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now