Learn PowerShell Scripting in a Month of Lunches: Write and organize scripts and tools, Second Edition

  • 5h 16m
  • Don Jones, James Petty, Jeffery Hicks
  • Manning Publications
  • 2024

Automate complex tasks and processes with PowerShell scripts. This amazing book teaches you how to write, test, and organize high-quality, reusable scripts for Windows, Linux, and cloud-based systems.

Learn PowerShell Scripting in a Month of Lunches, Second Edition takes you beyond command-line PowerShell and opens up the amazing world of scripting and automation. In just 27 bite-sized lessons, you’ll learn to write scripts that can eliminate repetitive manual tasks, create custom reusable tools, and build effective pipelines and workflows.

In Learn PowerShell Scripting in a Month of Lunches, Second Edition you’ll learn:

  • Setting up a reliable scripting environment
  • Designing functions and scripts
  • Effective pipeline usage
  • Scripting and security
  • Dealing with errors and bugs
  • Source control with git
  • Sharing and publishing scripts
  • Professional-grade scripting practices

The PowerShell language lets you write scripts to control nearly every aspect of Windows. Just master a few straightforward scripting skills, and you'll save yourself from hours of tedious tasks. This revised second edition is fully updated to PowerShell’s latest version, including hands-on examples that perfectly demonstrate modern PowerShell’s cross-platform applications.

about the technology

You can write PowerShell scripts to automate nearly any admin task on Windows, Linux, and macOS. This book shows you how! In just 27 short lessons you can complete on your lunch break, you’ll learn to create, organize, test, and share scripts and tools that will save you hours of time in your daily work.

about the book

Learn PowerShell Scripting in a Month of Lunches, Second Edition is a hands-on introduction to PowerShell automation and toolbuilding. Updated for the latest version of PowerShell, this thoroughly revised bestseller teaches you how to write efficient scripts, find and squash bugs, and organize your tools into libraries. Along the way, you’ll even pick up tips for securing and managing Linux and macOS systems.

what's inside

  • Setting up a reliable scripting environment
  • Designing functions and scripts
  • Effective pipeline usage
  • Sharing and publishing scripts

About the Author

James Petty is CEO of PowerShell.org and The DevOps Collective and a Microsoft MVP. Don Jones and Jeffery Hicks are the authors of the first edition of Learn PowerShell Scripting in a Month of Lunches.

In this Book

  • About This Book
  • Preface
  • Before You Begin
  • Setting up Your Scripting Environment
  • WWPD: What Would PowerShell Do?
  • Review: Parameter Binding and The Powershell Pipeline
  • Scripting Language: A Crash Course
  • The Many Forms of Scripting (and Which to Choose)
  • Scripts and Security
  • Always Design First
  • Avoiding Bugs: Start With a Command
  • Building a Basic Function and Script Module
  • Getting Started With Advanced Functions
  • Objects: The Best Kind of Output
  • Using all the Streams
  • Simple Help: Making a Comment
  • Errors and How to Deal With Them
  • Filling Out a Manifest
  • Changing Your Brain When It Comes to Scripting
  • Professional-Grade Scripting
  • An Introduction to Source Control with Git
  • Pestering Your Script
  • Signing Your Script
  • Publishing Your Script
  • Squashing Bugs
  • Enhancing Script Output Presentation
  • Wrapping Up the .NET Framework
  • Storing Data—Not in Excel!
  • Never the End
SHOW MORE
FREE ACCESS