Solved

Scripting

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

929 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now