Scripting Guidelines

Microsoft® Windows® 2000 Scripting Guide

Many system administrators who write scripts work as part of a team. This means it is important that the code they write follow accepted standards and conventions, making it easy to read and understand. By following a defined set of scripting guidelines, you can write clean, consistent code that your team can easily read, understand, and maintain. The standards presented in this chapter help you create high-quality scripts to use on the Microsoft® Windows® 2000 family of operating systems.

In This Chapter

Overview of Scripting Guidelines

Using Naming Conventions

Constructing Scripts

Formatting Code

Debugging and Troubleshooting Scripts

Testing Scripts