?
Solved

PowerShell script for listing login/logout in Windows 8/2012

Posted on 2013-02-06
4
Medium Priority
?
728 Views
Last Modified: 2013-03-09
We have some scripts that show login/logoff at start/shut down but we could not figure out how to show them when the computer goes to sleep or when it’s locked and the user logged in.
0
Comment
Question by:mihaisz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38863234
I am unsure if there is such script for this as its more of a eventViewer it checks for Login and Logout detils or from the Attributes

- Rancy
0
 

Author Comment

by:mihaisz
ID: 38873656
I'd like to automate monitoring login/logout since it will be used to audit timesheets.
Do you know of any commercial tools that can extract this information?
0
 
LVL 52

Accepted Solution

by:
Manpreet SIngh Khatra earned 2000 total points
ID: 38873664
You can have this as a normal script that will run at end of day or after hours to get the information ..... is this a ActiveDirectory environment or a simply work-group machines ?

- Rancy
0
 

Author Comment

by:mihaisz
ID: 38873669
Active Directory   - all user PCs are connected to the company domain.
Can you post a sample script?
0

Featured Post

Need protection from advanced malware attacks?

Look no further than WatchGuard's Total Security Suite, providing defense in depth against today's most headlining attacks like Petya 2.0 and WannaCry. Keep your organization out of the news with protection from known and unknown threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

801 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