liveBook · Manning

Chapter 9: A practical interlude

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

Introduces a real-world exercise that applies earlier PowerShell knowledge and models how to work out a solution independently.

After this chapter you will be able to

What it builds on

Section by section

Introduction

Introduces a real-world exercise that applies earlier PowerShell knowledge and models how to work out a solution independently.

9.1 Defining the task

The section introduces YAML as a structured file format common in DevOps and explains why PowerShell users need tools to work with it.

Key terms: YAML, DevOps, structured file, CSV, JSON

9.2 Finding the commands

This section demonstrates how to find commands for a task by changing search strategies, checking the PowerShell Gallery, and inspecting a newly installed module.

Key terms: help files, commands, PowerShell Gallery, YAML, module, review the code, ConvertTo, ConvertFrom

9.3 Learning to use the commands

The section shows how to work out an unfamiliar PowerShell task by searching for commands, using the information available about them, and converting a YAML file to JSON.

Key terms: local help files, command names, PowerShell Gallery, module, help, syntax, parameters, output, aliases, YAML

9.4 Tips for teaching yourself

This section offers practical habits for learning PowerShell independently: use help, examine what appears on screen, and experiment safely.

Key terms: help, examples, help files, information on the screen, virtual machine, snapshot, experimentation

9.5 Lab

9.6 Lab answer

Concepts explained in this chapter

← Chapter 8: Objects: Data by another name Chapter 10: The pipeline, deeper →

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.