47,95 €*
Versandkostenfrei per Post / DHL
Lieferzeit 2-4 Werktage
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. Yoüll get into error handling and also how to make your scripts more secure. Finally, yoü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.
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. Yoüll get into error handling and also how to make your scripts more secure. Finally, yoü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.
Discusses building better PowerShell code using best practices
Covers dozens of different tips and tricks to write better PowerShell code
Written by a six-time MVP
Chapter 1: Do The Basics.- Chapter 2: Don't Reinvent the Wheel.- Chapter 3: Use Visual Studio Code.- Chapter 4: Plan Before you Code.- Chapter 5: Create Building Blocks with Functions.- Chapter 6: Parameterize Everything.- Chapter 7: Log Script Activity.- Chapter 8: Build with Manageability in Mind.- Chapter 9: Be Specific.- Chapter 10: Write for the Next Person.- Chapter 11: Handle Errors Gracefully.- Chapter 12: Don't Skimp on Security.- Chapter 13: Stick to PowerShell.- Chapter 14: Build Tools.- Chapter 15: Return Standardized, Informative Output.- Chapter 16: Build Scripts for Speed.- Chapter 17: Use Version Control.- Chapter 18: Build Tests. -Chapter 19: Miscellaneous Tips.- Chapter 20: Summary.
Erscheinungsjahr: | 2020 |
---|---|
Genre: | Importe, Informatik |
Rubrik: | Naturwissenschaften & Technik |
Medium: | Taschenbuch |
Inhalt: |
xviii
146 S. 24 s/w Illustr. 146 p. 24 illus. |
ISBN-13: | 9781484263877 |
ISBN-10: | 1484263871 |
Sprache: | Englisch |
Einband: | Kartoniert / Broschiert |
Autor: | Bertram, Adam |
Auflage: | 1st edition |
Hersteller: | APRESS |
Verantwortliche Person für die EU: | APress in Springer Science + Business Media, Heidelberger Platz 3, D-14197 Berlin, juergen.hartmann@springer.com |
Maße: | 235 x 155 x 10 mm |
Von/Mit: | Adam Bertram |
Erscheinungsdatum: | 20.10.2020 |
Gewicht: | 0,26 kg |
Discusses building better PowerShell code using best practices
Covers dozens of different tips and tricks to write better PowerShell code
Written by a six-time MVP
Chapter 1: Do The Basics.- Chapter 2: Don't Reinvent the Wheel.- Chapter 3: Use Visual Studio Code.- Chapter 4: Plan Before you Code.- Chapter 5: Create Building Blocks with Functions.- Chapter 6: Parameterize Everything.- Chapter 7: Log Script Activity.- Chapter 8: Build with Manageability in Mind.- Chapter 9: Be Specific.- Chapter 10: Write for the Next Person.- Chapter 11: Handle Errors Gracefully.- Chapter 12: Don't Skimp on Security.- Chapter 13: Stick to PowerShell.- Chapter 14: Build Tools.- Chapter 15: Return Standardized, Informative Output.- Chapter 16: Build Scripts for Speed.- Chapter 17: Use Version Control.- Chapter 18: Build Tests. -Chapter 19: Miscellaneous Tips.- Chapter 20: Summary.
Erscheinungsjahr: | 2020 |
---|---|
Genre: | Importe, Informatik |
Rubrik: | Naturwissenschaften & Technik |
Medium: | Taschenbuch |
Inhalt: |
xviii
146 S. 24 s/w Illustr. 146 p. 24 illus. |
ISBN-13: | 9781484263877 |
ISBN-10: | 1484263871 |
Sprache: | Englisch |
Einband: | Kartoniert / Broschiert |
Autor: | Bertram, Adam |
Auflage: | 1st edition |
Hersteller: | APRESS |
Verantwortliche Person für die EU: | APress in Springer Science + Business Media, Heidelberger Platz 3, D-14197 Berlin, juergen.hartmann@springer.com |
Maße: | 235 x 155 x 10 mm |
Von/Mit: | Adam Bertram |
Erscheinungsdatum: | 20.10.2020 |
Gewicht: | 0,26 kg |