IntroductionScript DevelopmentTreat Scripting Projects as Actual ProjectsUse a Development Life Cycle ModelDesign and Prototype Your Scripts by Using PseudocodeGather Script Requirements EffectivelyDon’t Develop Scripts in a Production EnvironmentTest, Test, TestKeep Your Scripts ProfessionalScript DesignPut Configuration Information at the Beginning of ScriptUse CommentsAvoid Hard-Coding Configuration InformationWhen Necessary, Use VariablesProvide InstructionsPerform Validity Checking on Required ParametersMake Scripts and Functions ReusableUse Descriptive Names Rather Than AliasesProvide Status Information for Script UsersUse the WhatIf and Confirm ParametersScript SecurityDigitally Sign PowerShell Scripts and Configuration FilesNever Set Execution Policies to UnrestrictedTry to Run Scripts with the Minimum Required RightsStandards for ScriptingThis Book’s Scripting StandardsSummary