Building Better PowerShell Code

Building Better PowerShell Code
Author :
Publisher : Apress
Total Pages : 146
Release :
ISBN-10 : 1484263871
ISBN-13 : 9781484263877
Rating : 4/5 (71 Downloads)

Book Synopsis Building Better PowerShell Code by : Adam Bertram

Download or read book Building Better PowerShell Code written by Adam Bertram and published by Apress. This book was released on 2020-10-20 with total page 146 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.


Building Better PowerShell Code Related Books

Building Better PowerShell Code
Language: en
Pages: 146
Authors: Adam Bertram
Categories: Computers
Type: BOOK - Published: 2020-10-20 - Publisher: Apress

DOWNLOAD EBOOK

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
PowerShell for Sysadmins
Language: en
Pages: 321
Authors: Adam Bertram
Categories: Computers
Type: BOOK - Published: 2020-02-04 - Publisher: No Starch Press

DOWNLOAD EBOOK

Learn to use PowerShell, Microsoft's scripting language, to automate real-world tasks that IT professionals and system administrators deal with every day. Save
Windows PowerShell 3.0 First Steps
Language: en
Pages: 523
Authors: Ed Wilson
Categories: Computers
Type: BOOK - Published: 2013-07-15 - Publisher: Pearson Education

DOWNLOAD EBOOK

Get started with this powerful Windows administration tool Automate Windows administration tasks with ease by learning the fundamentals of Windows PowerShell 3.
Learn PowerShell Scripting in a Month of Lunches
Language: en
Pages: 0
Authors: Don Jones
Categories: Computers
Type: BOOK - Published: 2017-11-25 - Publisher: Manning

DOWNLOAD EBOOK

Summary Discover how scripting is different from command-line PowerShell, as you explore concrete hands-on examples in this handy guide. The book includes and e
Windows PowerShell for Developers
Language: en
Pages: 210
Authors: Douglas Finke
Categories: Computers
Type: BOOK - Published: 2012-07-06 - Publisher: "O'Reilly Media, Inc."

DOWNLOAD EBOOK

Want to perform programming tasks better, faster, simpler, and make them repeatable? Take a deep dive into Windows PowerShell and discover what this distributed