Building Better Powershell Code: Applying Proven Practices One Tip at a Time
Building Better Powershell Code: Applying Proven Practices One Tip at a Time
Bertram, Adam
product information
Condition: New, UPC: 9781484263877, Publication Date: Thu, October 1, 2020, Type: Paperback ,
join & start selling
description
7

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.

reviews

Be the first to write a review

member goods

No member items were found under this heading.

notems store

Windows Server 2019 Inside Out

by Thomas, Orin

Paperback /Paperback

$61.24

C# Programming in Easy Steps

by McGrath, Mike

Paperback /Paperback

$11.24

listens & views

I'D LIKE TO SET YOU ...

by SIMMS,GINNY

COMPACT DISC

out of stock

$11.99

WHILE CITY SLEEPS.WE RULE STREET ...

by COBRA STARSHIP

COMPACT DISC

out of stock

$22.99

IN THE KEY OF COMEDY ...

by IN THE KEY OF COMEDY / O.C.R.

COMPACT DISC

out of stock

$16.99

RADIO (SPA)

by GRAHAM,MAX

COMPACT DISC

out of stock

$18.99

Return Policy

All sales are final

Shipping

No special shipping considerations available.
Shipping fees determined at checkout.
promoting relevance through notable postings ]
share it, buy it, sell it ]

A notem is a post that highlights an experience, idea, topic of interest, an event ... whatever a member believes worthy of discussion. Each notem becomes a pathway by which to make meaningful connections.

notems is a free, global social network that rewards members by the number and quality of notems they post.

notemote® © . Privacy Policy. Developed by Hartmann Software Group