Remotely manage Windows systems from the command line
It seems like nearly every operating system has a lot of hidden tools; little gems that, if you know about them, make your life a lot easier by solving problems or helping your work more efficiently. Anyone who has attended one of my seminars knows I'm all about centralizing system management using tools like SSH, Webmin, Group Policy, Zenworks, Dameware, pt360, or any of the multitude of other management tools that allow you to work as efficiently as possible. In this article, I'm going to show you a group of Windows tools that allow you to manage remote systems from your desktop using the command line interface. (Let's be real: The idea is to allow us to make that Friday afternoon 3:00 tee time, instead of working into the night and through the weekend! Even if you're not a golfer, it's a metaphor for not allowing work to get in the way of life.
) You're probably aware of Mark Russinovich's work at his website SysInternals (now a part of Microsoft's Technet site) in creating great tools to help manage Windows systems. You may not be aware, however, of his PsTools suite. This collection of command-line tools allows you to perform many functions on remote systems from your command line. They're lightweight, they're very easy to install on your system, they don't require any installation on the remote system, and they work very well.
Here's a list of the tools and what they do (taken from the PsTools webpage): -PsExec - execute processes remotely -PsFile - shows files opened remotely -PsGetSid - display the SID of a computer or a user -PsInfo - list information about a system -PsKill - kill processes by name or process ID -PsList - list detailed information about processes -PsLoggedOn - see who's logged on locally and via resource sharing (full source is included) -PsLogList - dump event log records -PsPasswd - changes account passwords -PsService - view and control services -PsShutdown - shuts down and optionally reboots a computer -PsSuspend - suspends processes The name "Ps" comes from the UNIX/Linux "ps" command that lists running processes. Anyone who has worked very much with Linux or UNIX has used commands like "ps -aux" to see what's running, process IDs, resource utilization, etc. It seems strangely fitting that Mark would name this powerful suite of Windows tools after one of the most widely-used 'nix commands.
This collection of tools falls under the heading of, "What took me so long to find these?" The easiest way for you to find them is to Google on "PsTools". You can then download them from the Technet website. I'll bet you find them helpful! Copyright (c) 2008 Don R.
Don R. Crawley, CCNA-certified, is president and chief technologist at soundtraining.net, the Seattle training firm specializing in business skills and technical training for IT professionals. He works with IT pros to enhance their work, lives, and careers. For a free subscription to soundbytes, Don's 60-second e-zine for IT pros with musings, rants, and how-to guides, click here.
Get Published Get Noticed Get Sales - You've released your new product, or rolled out a new service, but so far there are no customers.
Changing A Phone Or Service Plan Without Changing The Cell Phone Number - There might be lots of situations which may require you to change the cell phone number.
How to Act on a Professional Conference Call - When would a person not want to appear professional with their employers or prospective employers? Here are the tips to do just that on a conference call.
Cingular Wireless Plans - Within the Cingular Wireless Plans also affiliated with AT&T, is the individual cell hone plan, family plans, prepaid plans, data plans, and even a senior nation 200 plan.
On the Nature of the Nazca Lines - Evidence from the Tiwanaku civilization in Bolivia reinforces ancient astronaut theory for the Nazca Lines in Peru.