Search:

Home | Computers


Remotely manage Windows systems from the command line

By:

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. Crawley

Article Source: http://www.freeforallarticles.com

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.

socialize this page   post this at del.icio.us   post this at digg   post this at Technorati   post this at Yahoo! my web   post this at Spurl   netscape   post this at Blinklist   post this at Scuttle   post this at de.lirio.us   post this at Newsvine   post this at Blinkbits
- over 40 sites with just one click!

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Computers Articles Via RSS!

© 2008 Free For All Articles. All Rights Reserved.
Use of our service is protected by our Terms of Service

Best Web Hosting Reviews

Powered by Article Dashboard