AZ-040T00A: Automating Administration with PowerShell

Module 1: Getting started with Windows PowerShell

  • Windows PowerShell overview
  • Understanding Windows PowerShell command syntax
  • Find commands and getting help in Windows PowerShell

Lab: Configuring the Windows PowerShell console application

Lab: Configuring the Windows PowerShell ISE application

Lab: Finding and running Windows PowerShell commands

Lab: Using Help and About files


Module 2: Windows PowerShell for local systems administration

  • Active Directory Domain Services administration cmdlets
  • Network configuration cmdlets
  • Server administration cmdlets
  • Windows PowerShell in Windows 10

Lab: Creating a website

Lab: Configuring network settings on Windows Server

Lab: Creating and managing Active Directory objects


Module 3: Working with the Windows PowerShell pipeline

  • Understand the pipeline
  • Select, sort, and measure objects
  • Filter objects out of the pipeline
  • Enumerate objects in the pipeline
  • Send and pass pipeline data as output

Lab: Selecting, sorting, and displaying data

Lab: Filtering objects

Lab: Enumerating objects

Lab: Converting objects


Module 4: Using PSProviders and PSDrives

  • Using PSProviders
  • Using PSDrives

Lab: Create a new Active Directory group

Lab: Creating a registry key for your future scripts

Lab: Creating files and folders on a remote computer


Module 5: Querying management information by using CIM and WMI

  • Understand CIM and WMI
  • Query data by using CIM and WMI
  • Make changes by using CIM and WMI

Lab: Querying information by using WMI

Lab: Querying information by using CIM

Lab: Invoking methods


Module 6: Working with variables, arrays, and hash tables

  • Use variables
  • Manipulate variables
  • Manipulate arrays and hash tables

Lab: Using hash tables

Lab: Using arrays

Lab: Working with variable types


Module 7: Windows PowerShell scripting

  • Introduction to scripting with Windows PowerShell
  • Script constructs
  • Import data from files
  • Accept user input
  • Troubleshooting and error handling
  • Functions and modules

Lab: Signing a script

Lab: Processing an array with a ForEach loop

Lab: Processing items by using If statements

Lab: Creating users based on a CSV file

Lab: Querying disk information from remote computers

Lab: Updating the script to use alternate credentials

Module 8: Administering remote computers with Windows PowerShell

  • Use basic Windows PowerShell remoting
  • Use advanced Windows PowerShell remoting techniques
  • Use PSSessions

Lab: Managing multiple computers

Lab: Using implicit remoting

Lab: Performing one-to-many remoting

Lab: Performing one-to-one remoting

Lab: Enabling remoting on the local computer


Module 9: Managing Azure resources with PowerShell

  • Azure PowerShell
  • Introduce Azure Cloud Shell
  • Manage Azure VMs with PowerShell
  • Manage storage and subscriptions

Lab: Installing Azure PowerShell module

Lab: Installing Cloud Shell

Lab: Managing Azure resources with Azure PowerShell


Module 10: Managing Microsoft 365 services with PowerShell

  • Manage Microsoft 365 user accounts, licenses, and groups with PowerShell
  • Manage Exchange Online with PowerShell
  • Manage SharePoint Online with PowerShell
  • Manage Microsoft Teams with PowerShell

Lab: Managing Exchange Online resources with Windows PowerShell

Lab: Managing SharePoint Online with Windows PowerShell

Lab: Managing Microsoft 365 user and group objects with Windows PowerShell

Lab: Connecting to Microsoft 365 with Windows PowerShell


Module 11: Using background jobs and scheduled jobs

  • Use background jobs
  • Use scheduled jobs

Lab: Starting and managing jobs

Lab: Creating a scheduled job