Solved

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

Posted on 2013-02-06
4
722 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 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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

688 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