liveBook · Manning

Chapter 1: Before you begin

What you will learn in chapter 1 of Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS

This introduction frames PowerShell as a command-line shell that beginners can start using without learning to script first.

After this chapter you will be able to

Section by section

Introduction

This introduction frames PowerShell as a command-line shell that beginners can start using without learning to script first.

Key terms: command-line shell, command-line utilities, scripting capabilities

1.1 Why you can no longer afford to ignore PowerShell

This section places PowerShell in the context of earlier Windows automation tools and introduces the question of why it is worth learning.

Key terms: Batch, KiXtart, VBScript, PowerShell

1.1.1 Life without PowerShell

The section explains why GUI work and earlier scripting tools left Windows administrators needing a more reliable way to automate tasks.

Key terms: graphical user interface (GUI), Active Directory Users and Computers, VBScript, CSV file, last mile, Windows PowerShell

1.1.2 Life with PowerShell

The section explains why PowerShell has become central to administration and why automating tasks with it can be more efficient than relying on GUIs.

Key terms: PowerShell, GUI consoles, administrative functionality, automating, GUI

1.2 Windows, Linux, and macOS, oh my

The section explains PowerShell’s expansion beyond Windows and the limits of the book’s cross-platform examples.

Key terms: PowerShell Version 6, PowerShell Core, object-centric shell, macOS, Linux, cross-platform compatible, commands, Windows focused

1.3 Is this book for you?

This section identifies the book’s primary audience and sets expectations for its practical, introductory scope.

Key terms: administrators, run commands, tools, patterns, production environment, external management technologies, first step

1.4 How to use this book

This section recommends a daily rhythm for reading and practicing with the book.

Key terms: one chapter each day, practice

1.4.1 The chapters

This section explains how to pace the book’s main chapters and where to turn afterward for next steps and quick reference.

Key terms: main content, practicing, one chapter a day, Chapter 27, PowerShell cheat sheet, gotchas

1.4.2 Hands-on labs

1.4.3 Supplementary materials

This section points readers to free videos that supplement the book.

Key terms: help system, Manning’s free content center, PowerShell.org

1.4.4 Further exploration

This section explains how Further exploration suggestions help readers go beyond topics the book covers briefly.

Key terms: Further exploration, additional resources

1.4.5 Above and beyond

This subsection explains what “Above and beyond” sections offer and how to use them without losing focus on practical learning.

Key terms: Above and beyond

1.5 Setting up your lab environment

This section explains how to set up a safe practice environment for the book’s PowerShell labs and what to expect across operating systems.

Key terms: lab environment, production environment, PowerShell 7.1, Windows PowerShell 5.1, Visual Studio Code, PowerShell extension, cross-platform, Get-Process

1.6 Installing PowerShell

This section shows readers how to check their PowerShell version, find official installation information, and adjust console settings for their operating system.

Key terms: $PSVersionTable, PowerShell console, official PowerShell home page, text-based console host, Lucida fixed-width font, Properties, screen buffer, non-Windows operating systems, command line, Bash shell

1.7 Contacting us

This section points readers to places to ask PowerShell questions, find further learning resources, and give the authors feedback.

Key terms: forums.powershell.org, powershell.org, feedback

1.8 Being immediately effective with PowerShell

The section explains why the book prioritizes practical PowerShell use before covering every detail.

Key terms: immediately effective, real production environment

Where this is used later

Concepts explained in this chapter

Chapter 2: Meet PowerShell →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.