-
ch 1 audio
- March 2024
- ISBN 9781633438989
- 336 pages
- printed in black & white
- available in Complex Chinese, Russian
pro 24ドル.99 per month
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose one free eBook per month to keep
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
lite 19ドル.99 per month
- access to all Manning books, including MEAPs!
team
5, 10 or 20 seats+ for your team - learn more
pro 24ドル.99 per month
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose one free eBook per month to keep
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
lite 19ドル.99 per month
- access to all Manning books, including MEAPs!
team
5, 10 or 20 seats+ for your team - learn more
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.Frequently Asked Questions
PowerShell provides deep access to system functionality, making it a favorite for automation but also a target for attackers, though anything possible in PowerShell can also be done without it. [1]
Execution policies like AllSigned and RemoteSigned add procedural hurdles to script execution, helping prevent unintentional runs but not serving as true security boundaries. [1]
Advanced functions use CmdletBinding, support pipeline input, validate parameters, and provide common parameters like –Confirm and –WhatIf. [1]
Outputting objects enables downstream processing, integration, and richer automation compared to static text output. [1]
By leveraging all seven output streams—including verbose, warning, and information streams—scripts can deliver detailed diagnostics and feedback. [1]
Using Git for version control helps manage changes, collaborate with others, and maintain a reliable history of PowerShell scripts. [1]
Pester enables automated unit testing of scripts and modules, ensuring code correctness and maintainability. [1]
what's inside
- Setting up a reliable scripting environment
- Designing functions and scripts
- Effective pipeline usage
- Sharing and publishing scripts
about the reader
Beginning to intermediate knowledge of PowerShell required.about the authors
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.pro 24ドル.99 per month
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose one free eBook per month to keep
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
lite 19ドル.99 per month
- access to all Manning books, including MEAPs!
team
5, 10 or 20 seats+ for your team - learn more
The best! From creating pipelines to testing with Pester to even digital signing, it’s got everything!
A wonderful guide! The updates to PowerShell 7 are greatly needed and well executed.
Each manageable lesson builds upon the previous one. I recommend this book to anyone getting started with PowerShell!
The next step in your journey from PowerShell command runner to script maker!
related titles
related titles
pro
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Learn PowerShell Scripting in a Month of Lunches, Second Edition ebook for free
team
- five seats for your team
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Learn PowerShell Scripting in a Month of Lunches, Second Edition ebook for free
pro
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Learn PowerShell Scripting in a Month of Lunches, Second Edition ebook for free
team
- five seats for your team
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Learn PowerShell Scripting in a Month of Lunches, Second Edition ebook for free
pro
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Learn PowerShell Scripting in a Month of Lunches, Second Edition ebook for free
team
- five seats for your team
- access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
- choose another free product every time you renew
- choose twelve free products per year
- exclusive 50% discount on all purchases
- renews monthly, pause or cancel renewal anytime
- renews annually, pause or cancel renewal anytime
- Learn PowerShell Scripting in a Month of Lunches, Second Edition ebook for free