Chapter 5. PowerShell Scripting Best Practices

IN THIS CHAPTER

Introduction

Many helpful guides are available for learning what scripting practices to follow. Often these guides cover best practices for a particular language, general scripting concepts, or even one scripter’s views on what’s considered good scripting. No matter what type of guide you consult, your goal should always be to seek improvements in how you script.

This chapter is intended to provide guidelines based on experience for scripting best practices that tie into software development best practices. Scripting is similar to software development, in that it involves writing and developing code in a ...

Get Windows PowerShell Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.