Building Better Powershell Code: Applying Proven Practices One Tip at a Time - Paperback

Building Better Powershell Code: Applying Proven Practices One Tip at a Time - Paperback

$66.51
Sale price  $66.51 Regular price 
Skip to product information
Building Better Powershell Code: Applying Proven Practices One Tip at a Time - Paperback

Building Better Powershell Code: Applying Proven Practices One Tip at a Time - Paperback

$66.51
Sale price  $66.51 Regular price 

by Adam Bertram (Author)

Learn to write better PowerShell code via short, example-driven tips. This book covers tips to make your PowerShell scripts faster and easier to read all while following proven best practices. Written by a six-time Microsoft MVP and one of the first Microsoft PowerShell MVPs with over a decade of PowerShell experience, Building Better PowerShell Code gives you easily digestible tips you can begin using immediately.

The book starts with an overview of some of the most important tips the author can muster which segues into a deeper dive with dozens of examples throughout the book. It takes you through tips such as using community modules, writing better comments, thinking of PowerShell functions as building blocks, and more. You will also see how to use parameters the right way and how to create simple logging code to easily record script activity.

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.

Back Jacket

Learn to write better PowerShell code via short, example-driven tips. This book covers tips to make your PowerShell scripts faster and easier to read all while following proven best practices. Written by a six-time Microsoft MVP and one of the first Microsoft PowerShell MVPs with over a decade of PowerShell experience, Building Better PowerShell Code gives you easily digestible tips you can begin using immediately. The book starts with an overview of some of the most important tips the author can muster which segues into a deeper dive with dozens of examples throughout the book. It takes you through tips such as using community modules, writing better comments, thinking of PowerShell functions as building blocks, and more. You will also see how to use parameters the right way and how to create simple logging code to easily record script activity.

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.

Author Biography

Adam Bertram is a 20+ year veteran of IT and an experienced online business professional. He's a consultant, Microsoft MVP, blogger, trainer, published author and content marketer for multiple technology companies.

Number of Pages: 146
Dimensions: 0.35 x 9.21 x 6.14 IN
Illustrated: Yes
Publication Date: October 20, 2020

Intentional design

We make things that work better and last longer. Our products solve real problems with clean design.

Quality first

We obsess over the details and strive to deliver the best products at the best prices, every time.

Customer care

We're always on your side: keeping our loyal customers happy is our top priority and number one goal.

Feature 1

Made with care and unconditionally loved by our customers, this signature bestseller exceeds all expectations.

Feature 2

Made with care and unconditionally loved by our customers, this signature bestseller exceeds all expectations.

At the heart of every product lies a unique story, driven by our passion for quality and innovation. Each item enhances your everyday life and sparks joy.