Building Better PowerShell Code

Building Better PowerShell Code
Author :
Publisher : Apress
Total Pages : 146
Release :
ISBN-10 : 1484263871
ISBN-13 : 9781484263877
Rating : 4/5 (877 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
Learn PowerShell Scripting in a Month of Lunches, Second Edition
Language: en
Pages: 334
Authors: James Petty
Categories: Computers
Type: BOOK - Published: 2024-05-21 - Publisher: Simon and Schuster

DOWNLOAD EBOOK

Automate complex tasks and processes with PowerShell scripts. This amazing book teaches you how to write, test, and organize high-quality, reusable scripts for
Professional Windows PowerShell Programming
Language: en
Pages: 338
Authors: Arul Kumaravel
Categories: Computers
Type: BOOK - Published: 2008-02-19 - Publisher: John Wiley & Sons

DOWNLOAD EBOOK

Describes the concepts, components, and development techniques of Windows PowerShell to enable users to build software packages and applications.
PowerShell in Depth
Language: en
Pages: 1050
Authors: Don Jones
Categories: Computers
Type: BOOK - Published: 2014-10-31 - Publisher: Simon and Schuster

DOWNLOAD EBOOK

Summary PowerShell in Depth, Second Edition is the go-to reference for administrators working with Windows PowerShell. Every major technique, technology, and ta