Solved

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

Posted on 2013-02-06
4
715 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
  • 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 500 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
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 …
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

820 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