Solved

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

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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…

737 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