Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


May 05, 2003

Creating a Shell Scripting Tools Menu System

Make tools and utilities easy for anyone to use
RSS
View this exclusive article with VIP access -- click here to join |
See More Scripting Articles Here | Reprints | Or sign up for our VIP Monthly Pass!
SideBar    Best Practices for Scripting

Users often ask me to check user group memberships, troubleshoot desktop-PC or server problems, determine who's logged on to a PC, or perform other simple administrative or troubleshooting tasks. Usually, before the request is complete, I've typed a few commands and answered the question, much to the user's amazement. I can't count how many times someone has said, "That's incredible! Can you teach me how to do that, too?" This starts a cycle of me teaching the user a few commands, the user forgetting the commands, and me reteaching the commands the next time the task needs to be done.

If you don't use command-shell tools frequently, you can easily forget which command will accomplish a particular task or the command's usage syntax. Even experienced scriptwriters often need to refer to the online Help for the Microsoft Windows 2000 Server Resource Kit, third-party tool, or internal command to refamiliarize themselves with a command's syntax. Users on your security and support teams would certainly benefit from using command-line tools, but often they just don't use the commands frequently enough to remember which command or utility to use in a particular situation or the utility's syntax. . . .

Reader Comments
I do like this script but the problem is see is that when i run the command i end up back at the "What command would you like to run?" If this could be piped to notepad it would be more useful so that the data would be printed.

Connollyr12 October 11, 2004 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

Have New Features Made Exchange Server Backups Unnecessary?

Cluster continuous replication and Volume Shadow Copy Service might have made backups unnecessary in Exchange 2007, but will admins feel comfortable without a dedicated backup solution in place? ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Related Events Check out our list of Free Email Newsletters!

Scripting eBooks Keeping Your Business Safe from Attack: Encryption and Certificate Services

Best Practices for Managing Linux and UNIX Servers

Building an Effective Reporting System

Related Scripting Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing