Solved

Scripting

Posted on 2013-01-21
1
455 Views
Last Modified: 2013-01-27
I need a script that will take a list of users account log in names and find out what computers they are logged into.  We have 2008R2 domain controllers and Windows 7 and XP clients.  I am familiar with psloggedon, batch files, vbscript and powershell.  We still have mostly XP clients so i definitely need it work on them.
0
Comment
Question by:BrianSDG
1 Comment
 
LVL 65

Accepted Solution

by:
RobSampson earned 500 total points
ID: 38804113
You really can't do this.  The only way would be to poll the entire network and only for those computers that were on, would you get who was logged onto them.

A better way might be to set up login scripts that record user logon activity to text files, and if you wanted to see who logged on where, just open the text file.  There's a few approaches here:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_27275321.html

Regards,

Rob.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

685 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