Building Better PowerShell Code
Language: English
Published by APress, US, 2020
- Softcover
- New

Seller: Rarewaves USA, HEBRON, KY, U.S.A.Rarewaves USA
AbeBooks seller since June 10, 2025
Condition: New
US$ 49.35
Quantity: 8 available
Add to basketItem description from seller
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 testsImproving performance through parallel processing Writing cross-platform scriptsUsing 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 LearnImplement error handlingCreate a logging functionUse regular expressions to search strings Implement parallel processing Who This Book Is For PowerShell script developers.…
Seller Inventory # LU-9781484263877
- Title
- Building Better PowerShell Code
- Author
- Adam Bertram
- Publisher
- APress, US
- Publication year
- 2020
- Condition
- New
- Binding
- Paperback
- Language
- English
- ISBN 10
- 1484263871
- ISBN 13
- 9781484263877
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.
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
Shipping rates within U.S.A.
| Item | 13 to 14 business days | 13 to 16 business days |
|---|---|---|
| First item | US$ 0.00 | US$ 0.00 |
Payment methods
Seller's business information
Rarewaves USA
10100 West Sample Road, Ste 101
Coral Springs, FL U.S.A. 33065
Shipping terms
Please note that we do not offer Priority shipping to any country.
We currently do not ship to the below countries:
Afghanistan
Bhutan
Brazil
Brunei Darussalam
Channel Islands
Chile
Israel
Lao
Mexico
Russian Federation
Saudi Arabia
South Africa
Yemen
Please do not attempt to place orders with any of these countries as a ship to address - they will be cancelled.