Building Better PowerShell Code: Applying Proven Practices One Tip at a Time


Building Better PowerShell Code: Applying Proven Practices One Tip at a Time
By 作者:Adam Bertram
Paperback : 146 pages
ISBN-10 : 1484263871
ISBN-13 : 9781484263877
Product Dimensions : 15.6 x 0.89 x 23.39 cm
Publisher Finelybook 出版社 : Apress; 1st ed. Edition (20 Oct. 2020)
Language 语言: : English
The Book Description robot was collected from Amazon and arranged by Finelybook
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

下载地址 DOWNLOAD隐藏内容需1积分,请先!没有帐号? 注 册 一个!
觉得文章有用就打赏一下文章作者
未经允许不得转载:finelybook » Building Better PowerShell Code: Applying Proven Practices One Tip at a Time
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏