Contents
■ Module 0 Course introduction 1
About this course 1
■ Module 1 Getting started with Windows PowerShell 3
Windows PowerShell overview 3
Understand Windows PowerShell command syntax 14
Find commands and get help in Windows PowerShell 18
Module 01 lab and review 27
■ Module 2 Windows PowerShell for local systems administration 33
Active Directory Domain Services administration cmdlets 33
Network configuration cmdlets 44
Server administration cmdlets 50
Windows PowerShell in Windows 10 54
Module 02 lab and review 58
■ Module 3 Working with the Windows PowerShell pipeline 63
Understand the pipeline 63
Select, sort, and measure objects 69
Filter objects out of the pipeline 76
Module 03 lab A and review 82
Enumerate objects in the pipeline 83
Send pipeline data as output 86
Module 03 lab B and review 90
Pass pipeline objects 91
■ Module 4 Using PSProviders and PSDrives 101
Using PSProviders 101
Using PSDrives 105
Module 04 lab and review 113
■ Module 5 Querying management information by using CIM and WMI 119
Understand CIM and WMI 119
Query data by using CIM and WMI 124
Make changes by using CIM and WMI 132
Module 05 lab and review 137
■ Module 6 Working with variables, arrays, and hash tables 143
Use variables 143
Manipulate variables 150
Manipulate arrays and hash tables 156
Module 06 lab and review 163
■ Module 7 Windows PowerShell scripting 169
Introduction to scripting with Windows PowerShell 169
Script constructs 178
Import data from files 184
Accept user input 189
Troubleshooting and error handling 197
Functions and modules 203
Module 07 lab and review 209
■ Module 8 Administering remote computers with Windows PowerShell 219
Use basic Windows PowerShell remoting 219
Use advanced Windows PowerShell remoting techniques 230
Use PSSessions 234
Module 08 lab and review 240
■ Module 9 Managing Azure resources with PowerShell 243
Azure PowerShell 243
Introduce Azure Cloud Shell 250
Manage Azure VMs with PowerShell 255
Manage storage and subscriptions 260
Module 09 lab and review 263
■ Module 10 Managing Microsoft 365 services with PowerShell 267
Manage Microsoft 365 user accounts, licenses, and groups with PowerShell 267
Manage Exchange Online with PowerShell 282
Manage SharePoint Online with PowerShell 290
Manage Microsoft Teams with PowerShell 298
Module 10 lab and review 302
■ Module 11 Using background jobs and scheduled jobs 309
Use background jobs 309
Use scheduled jobs
Module 11 lab and review