Subscribe to Windows IT Pro
August 31, 2004 12:00 AM

GUI Utilities vs. Scripted Solutions

Windows IT Pro
InstantDoc ID #43593
Rating: (1)

When I started writing scripts several years ago, only a few GUI utilities were available. Today, many GUI utilities are available for managing and monitoring everything from Active Directory (AD) to NTFS file permissions.

So, what's the difference between a GUI utility and a script? A GUI utility is like a luxury automobile. The luxury car is designed by people who aren't familiar with your specific driving requirements, so they include all the features they think you might need. Consequently, although the car is feature-rich, it's heavy, not very responsive, and not that fast. In contrast, a script is like a high-performance race car that you built to meet your specific driving requirements. Thus, although the car has no creature comforts, it's light, agile, and fast.

Being agile and fast is important for systems administrators because part of their job is to quickly develop solutions for problems that pop up. A solution might involve looking for a particular version of software in the registry on all the computers in your network, detecting the existence of a virus-related file in the root of the C drive on all your machines, or quickly verifying the members of the Administrators group on all your servers. Although these special tasks are the playground for scriptwriters, it's not really economically feasible for GUI utility vendors to offer tools to perform these simple but crucial tasks.

However, when a task is complex, buying a GUI utility might be easier than scripting a solution. Many GUI utility vendors have seen the interest in scripting increase and are building in command-line interfaces that let you use a script to call many or all of a utility's functions. So, if you're purchasing a GUI tool, be sure to verify with the vendor that it has a command-line interface.

Related Content:

ARTICLE TOOLS

Comments
  • PAMELA
    8 years ago
    Sep 03, 2004

    Absolutely. In fact I believe that most GUIs get in the way whereas I can script directly to the api and use it for benchmarking. I have several build process fully automated using nothing but wsf, js and bat. I talk to VSS, dtSearch and anything that moves. I build libraries with the api functions and thus can build utilities and tools whenever the need arises.

    It does require that I know a wee bit more than the script kiddies though.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.