Welcome to Manning India!

We are pleased to be able to offer regional eBook pricing for Indian residents.
All eBook prices are discounted 40% or more!
Learn PowerShell in a Month of Lunches, Linux and macOS Edition
Travis Plunk and Tyler Leonhardt
  • MEAP began September 2019
  • Publication in Spring 2020 (estimated)
  • ISBN 9781617296963
  • 375 pages (estimated)
  • printed in black & white

A very concise book for learning PowerShell from zero.

Aldo Solis Zenteno
Learn PowerShell in a Month of Lunches, Linux and macOS Edition is a task-focused tutorial for administering Linux and macOS systems using Microsoft PowerShell. Adapted by PowerShell team members Travis Plunk and Tyler Leonhardt from the bestselling Learn Windows PowerShell in a Month of Lunches by community legends Don Jones and Jeffrey Hicks, it features Linux-based examples covering core language features and admin tasks. Designed for busy IT professionals, this innovative guide will take you from the basics to PowerShell proficiency through 25 tutorials you can do in your lunch break.
Table of Contents detailed table of contents

1 Before you begin

2 Meet PowerShell

2.1 PowerShell on macOS

2.1.1 Installation on macOS

2.2 PowerShell on Linux (Ubuntu 18.04)

2.2.1 Installation on Ubuntu 18.04

2.3 Visual Studio Code & the PowerShell extension

2.3.1 Installing Visual Studio Code and the PowerShell extension

2.3.2 Getting familiar with Visual Studio Code

2.3.3 Customizing Visual Studio Code and the PowerShell extension

2.4 It’s typing class all over again

2.5 What version is this?

2.6 Lab

3 Using the help system

3.1 The help system: how you discover commands

3.2 Updatable help

3.3 Asking for help

3.4 Using help to find commands

3.5 Interpreting the help

3.5.1 Parameter sets and common parameters

3.5.2 Optional and mandatory parameters

3.5.3 Positional parameters

3.5.4 Parameter values

3.5.5 Finding command examples

3.6 Accessing “about” topics

3.7 Accessing online help

3.8 Lab

3.9 Lab answers

4 Running commands

4.1 Not scripting, but running commands

4.2 The anatomy of a command

4.3 The cmdlet naming convention

4.4 Aliases: nicknames for commands

4.5 Taking shortcuts

4.5.1 Truncating parameter names

4.5.2 Using parameter name aliases

4.5.3 Using positional parameters

4.6 Support for external commands

4.7 Dealing with errors

4.8 Common points of confusion

4.8.1 Typing cmdlet names

4.8.2 Typing parameters

4.9 Lab

5 Adding commands

6 Objects: just data by another name

7 The pipeline, deeper

8 Formatting — and why it’s done on the right

9 Filter and comparisons

10 Variables: a place to store your stuff

11 Remote control: one to one and one to many

12 Sessions: remote control, with less work

13 Multitasking with background jobs

14 Working with bunches of objects, one at a time

15 Input and Output

16 You call this scripting?

17 From command to script to function

18 Adding logic and loops

19 Creating your own “cmdlets” and modules

20 Handling errors

21 Debugging techniques

22 Tips, tricks, and techniques

23 Final exam: tackling an administrative task from scratch

24 Never the end

25 PowerShell cheat sheet

About the Technology

The PowerShell scripting language and administrative shell was initially created for Windows, providing a high-quality command-line interface and awesome automation features. As part of Microsoft’s ongoing strategy to support non-Windows platforms with its Azure cloud service and .NET Core framework, PowerShell now runs on Linux and macOS. Like Bash, PowerShell can execute and script nearly any aspect of Linux, so you can easily manage repetitive daily tasks, servers, Cloud resources, Continuous Integration pipelines, and more. Because PowerShell is a full-featured programming language, however, it provides capability well beyond traditional shell scripting languages, such as the ability to treat OS components as objects.

About the book

Learn PowerShell in a Month of Lunches, Linux and macOS Edition is a user-friendly tutorial to managing Linux and macOS systems with PowerShell. It’s based on the bestselling Learn Windows PowerShell in a Month of Lunches, which has introduced PowerShell to nearly 100,000 readers. You’ll learn how PowerShell shapes up to Bash or Python scripting as you write and run simple scripts that automate boring daily tasks. As you progress through the book, you’ll use PowerShell to write Continuous Integration Pipelines and manage cloud-based servers. Just set aside one hour a day for a month, and you'll be automating tasks faster than you ever thought possible!

What's inside

  • Why you should use PowerShell on Linux and macOS
  • Background jobs and automation techniques
  • Simple scripting to automate repetitive daily tasks
  • Common syntax and commands cheat sheet
  • Each lesson takes you an hour or less

About the reader

For IT professionals comfortable administering Windows or Linux. No previous experience with PowerShell or Bash required.

About the authors

Travis Plunk has been a Software Engineer on various PowerShell teams since 2013, and at Microsoft since 1999. He was involved in open sourcing PowerShell and has worked on the project full time since shortly after the project was announced.

Tyler Leonhardt has been a Software Engineer on the PowerShell team since 2017, and at Microsoft since 2016. He is a core maintainer of the PowerShell extension for Visual Studio Code.

Learn Windows PowerShell in a Month of Lunches was written by PowerShell community legends Don Jones and Jeffrey Hicks, who have years of experience as successful PowerShell trainers.

Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
MEAP combo $39.99 pBook + eBook + liveBook
MEAP eBook $25.00 $31.99 pdf + ePub + kindle + liveBook
Prices displayed in rupees will be charged in USD when you check out.

placing your order...

Don't refresh or navigate away from the page.

FREE domestic shipping on three or more pBooks