AZ-040: Automating Administration with PowerShell
Master PowerShell with 16 hands-on labs covering scripting fundamentals, Active Directory management, Windows Server administration, Azure resource management, and Microsoft 365 automation.
View badge details
About This Course
Course Curriculum
16 Lessons
Review Windows PowerShell
Introduction to Windows PowerShell, its versions, host applications (console, ISE, VS Code), and how to configure and customize the PowerShell environment.
Understanding Command Syntax and Finding Commands
Learn cmdlet structure, parameters, tab completion, and how to discover commands with Get-Command, Get-Help, and About files.
Managing Active Directory with PowerShell
Use PowerShell to manage Active Directory objects including users, groups, organizational units, and computer accounts.
Configuring Network Settings and Windows Server with PowerShell
Configure network adapters, IP addresses, DNS, test connectivity, install Windows Server roles, and manage IIS using PowerShell.
Understanding the PowerShell Pipeline
Learn how objects flow through the PowerShell pipeline and use Select-Object, Sort-Object, Measure-Object, Group-Object, and formatting cmdlets.
Filtering and Enumerating Objects in the Pipeline
Filter pipeline objects with Where-Object using comparison operators and enumerate objects with ForEach-Object for transformation.
Sending Pipeline Data as Output and Passing Pipeline Objects
Export and convert pipeline data to CSV, HTML, XML, and JSON formats. Understand pipeline parameter binding by value and by property name.
Using PSProviders and PSDrives
Work with PSProviders and PSDrives to manage file systems, registry, certificates, and Active Directory using a consistent set of cmdlets.
Querying Information with CIM and WMI
Query management information using CIM and WMI cmdlets, discover classes and namespaces, connect to remote computers, and invoke methods.
Working with Variables, Arrays, and Hash Tables
Create and manage variables with proper data types, work with arrays and array lists, and use hash tables and custom objects in PowerShell.
Creating and Running PowerShell Scripts
Create, sign, and run PowerShell scripts. Use execution policies, ForEach loops, If/Switch statements, and other scripting constructs.
Advanced Scripting Techniques
Import data from files, accept user input with parameters, handle errors with Try/Catch, debug scripts, and create reusable functions and modules.
PowerShell Remoting
Enable and use PowerShell remoting for one-to-one and one-to-many administration, implicit remoting, and persistent PSSessions.
Managing Azure Resources with PowerShell
Install the Az module, connect to Azure, use Cloud Shell, and manage Azure resources including VMs, networking, and storage with PowerShell.
Managing Microsoft 365 with PowerShell
Manage Microsoft 365 services including Entra ID users and groups, Exchange Online, SharePoint Online, and Microsoft Teams using PowerShell.
Using Background Jobs and Scheduled Jobs
Create and manage local jobs, remote jobs, and scheduled jobs. Use job triggers, scheduled tasks, and retrieve job results from history.