[フレーム]
  • ch 1 audio
customers also reading
This book

Learn PowerShell Scripting in a Month of Lunches, Second Edition

you own this product
Write and organize scripts and tools
  • March 2024
  • ISBN 9781633438989
  • 336 pages
  • printed in black & white
  • available in Complex Chinese, Russian
free previous edition eBook included

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


eBook
pdf, ePub, online
47ドル.99
print
includes eBook
59ドル.99
online + audio
read and listen
49ドル.99
with subscription
free or 50% off
24ドル.99

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


eBook
47ドル.99
print
59ドル.99
online + audio
49ドル.99
with subscription
24ドル.99
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.

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]

Signing scripts with a code-signing certificate and enforcing the AllSigned execution policy ensures only trusted, unmodified scripts are run. [1] [2]

PowerShell uses parameter binding ByValue and ByPropertyName to match pipeline objects to command parameters, enabling seamless data flow. [1] [2]

Trace-Command reveals the internal parameter binding process, helping users debug and understand how data moves through the pipeline. [1] [2]

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.
eBook
pdf, ePub, online
47ドル.99
print
includes eBook
59ドル.99
online + audio
read and listen
49ドル.99
with subscription
free or 50% off
24ドル.99

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


eBook
47ドル.99
print
59ドル.99
online + audio
49ドル.99
with subscription
24ドル.99

The best! From creating pipelines to testing with Pester to even digital signing, it’s got everything!

Chrissy LeMaire, Microsoft MVP, creator of dbatools

A wonderful guide! The updates to PowerShell 7 are greatly needed and well executed.

Joe Houghes, Microsoft MVP Pure Storage

Each manageable lesson builds upon the previous one. I recommend this book to anyone getting started with PowerShell!

Steven Judd, Tenstreet

The next step in your journey from PowerShell command runner to script maker!

Glen Thompson, Mainfreight
choose your plan

pro

monthly
annual
24ドル.99
249ドル.99
only 20ドル.83 per month
  • 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

monthly
annual
49ドル.99
399ドル.99
only 33ドル.33 per month
  • 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
choose your plan

pro

monthly
annual
24ドル.99
249ドル.99
only 20ドル.83 per month
  • 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

monthly
annual
49ドル.99
399ドル.99
only 33ドル.33 per month
  • 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
choose your plan

pro

monthly
annual
24ドル.99
249ドル.99
only 20ドル.83 per month
  • 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

monthly
annual
49ドル.99
399ドル.99
only 33ドル.33 per month
  • 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

AltStyle によって変換されたページ (->オリジナル) /