Chapter 8. Designing the script
Clear-cut guidelines can be used to design scripts and ensure that they are easy to understand, maintain, and troubleshoot. In this chapter, you will examine the reasons for scripting guidelines and view examples of both good and bad code design.
Understanding functions
In Windows PowerShell 4.0, functions have moved to the forefront as the primary programming element used when writing PowerShell scripts. This is not necessarily due to improvements in functions per se but rather to ...
Get Windows PowerShell Best Practices 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.