Book Image

Mastering Windows PowerShell Scripting

By : Brenton J.W. Blawat
Book Image

Mastering Windows PowerShell Scripting

By: Brenton J.W. Blawat

Overview of this book

Table of Contents (22 chapters)
Mastering Windows PowerShell Scripting
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 14. Script Creation Best Practices and Conclusion

This chapter explores the best practices for script creation. It begins by discussing the ways to create comment headers in your scripts. It then dives into how to comment on code in your scripts and different situations where you may need detailed comments. You will then explore the best practices for script creation and provide other considerations that developers need to have in order to develop their scripts. This chapter then explains source control and maintaining revisions, and concludes with the best practices for automation with PowerShell.