Solved

Scripting

Posted on 2013-01-21
1
454 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
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…
The viewer will learn how to count occurrences of each item in an array.

825 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