You will learn not only how to write better code, but also how to implement some mindset tricks, such as being explicit and specific with code and how to write code that reads well. You’ll get into error handling and also how to make your scripts more secure. Finally, you’ll examine the concept of building PowerShell tools and how to build scripts for speed.
Other tips and best practices include:
• Building Pester tests
• Improving performance through parallel processing
• Writing cross-platform scripts
• Using filtering properly
After reading this book and applying these tips, you will have an expert coding mindset and be able to build PowerShell code that’s efficient, readable, and compliant with many best practices.
What You Will Learn
• Implement error handling
• Create a logging function
• Use regular expressions to search strings Implement parallel processing
Who This Book Is For
PowerShell script developers.
You will learn not only how to write better code, but also how to implement some mindset tricks, such as being explicit and specific with code and how to write code that reads well. You’ll get into error handling and also how to make your scripts more secure. Finally, you’ll examine the concept of building PowerShell tools and how to build scripts for speed.
Other tips and best practices include:
• Building Pester tests
• Improving performance through parallel processing
• Writing cross-platform scripts
• Using filtering properly
After reading this book and applying these tips, you will have an expert coding mindset and be able to build PowerShell code that’s efficient, readable, and compliant with many best practices.
What You Will Learn
• Implement error handling
• Create a logging function
• Use regular expressions to search strings Implement parallel processing
Who This Book Is For
PowerShell script developers.
Building Better PowerShell Code: Applying Proven Practices One Tip at a Time
146
Building Better PowerShell Code: Applying Proven Practices One Tip at a Time
146Paperback(First Edition)
Product Details
| ISBN-13: | 9781484263877 |
|---|---|
| Publisher: | Apress |
| Publication date: | 10/20/2020 |
| Edition description: | First Edition |
| Pages: | 146 |
| Product dimensions: | 6.10(w) x 9.25(h) x (d) |