This course is currently under maintenance. We're updating content and labs. Enrollment is paused; check back soon.
AI Instructor Live Labs Included

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.

Advanced
1d 12h 50m
32 Lessons
AZ-040
AZ-040: Automating Administration with PowerShell Badge

View badge details

About This Course

Master PowerShell for enterprise administration and automation with this advanced course featuring 16 hands-on labs covering Windows Server, Azure, and Microsoft 365 management. You'll progress from PowerShell fundamentals to advanced scripting techniques, building the automation skills that modern IT administrators need daily.The course begins with PowerShell foundations understanding the command-line environment, discovering and executing cmdlets, working with the pipeline, and filtering and formatting output. You'll learn to navigate the object-oriented nature of PowerShell, using properties and methods to extract and manipulate data from any source. Core scripting topics include variables, arrays, hash tables, conditional logic, loops, error handling, and building reusable functions with parameters.You'll apply these skills to real-world administration scenarios: managing Active Directory users, groups, and organizational units; configuring Windows Server roles and features; managing Azure resources including virtual machines, storage accounts, and resource groups with the Az PowerShell module; and administering Microsoft 365 users, licenses, and Exchange Online mailboxes. Advanced topics include working with REST APIs, parsing JSON and XML data, creating scheduled tasks for automated reporting, and using PowerShell remoting for managing multiple servers simultaneously.Each lab is guided by an AI instructor who teaches concepts interactively and walks you through progressively complex exercises. This course is ideal for system administrators, IT professionals, and DevOps engineers who want to automate repetitive tasks, build consistent management workflows, and dramatically increase their operational efficiency.

Course Curriculum

32 Lessons
01
AI Lesson
AI Lesson

Review Windows PowerShell

45m

Introduction to Windows PowerShell, its versions, host applications (console, ISE, VS Code), and how to configure and customize the PowerShell environment.

02
Lab Exercise
Lab Exercise

Review Windows PowerShell - Lab Exercises

1h 20m 2 Exercises

Introduction to Windows PowerShell, its versions, host applications (console, ISE, VS Code), and how to configure and customize the PowerShell environment.

03
AI Lesson
AI Lesson

Understanding Command Syntax and Finding Commands

45m

Learn PowerShell's verb-noun command naming convention, how to discover commands using Get-Help and Get-Command, and how to use the built-in About files for reference.

04
Lab Exercise
Lab Exercise

Understanding Command Syntax and Finding Commands - Lab Exercises

1h 30m 2 Exercises

Learn cmdlet structure, parameters, tab completion, and how to discover commands with Get-Command, Get-Help, and About files.

05
AI Lesson
AI Lesson

Managing Active Directory with PowerShell

45m

Learn to use PowerShell cmdlets from the ActiveDirectory module to create and manage users, groups, organizational units, and other AD objects.

06
Lab Exercise
Lab Exercise

Managing Active Directory with PowerShell - Lab Exercises

1h 5m 1 Exercises

Use PowerShell to manage Active Directory objects including users, groups, organizational units, and computer accounts.

07
AI Lesson
AI Lesson

Configuring Network Settings and Windows Server with PowerShell

45m

Learn to configure IP addresses, DNS settings, and network adapters using PowerShell, and automate Windows Server role installation including IIS.

08
Lab Exercise
Lab Exercise

Configuring Network Settings and Windows Server with PowerShell - Lab Exercises

1h 20m 2 Exercises

Configure network adapters, IP addresses, DNS, test connectivity, install Windows Server roles, and manage IIS using PowerShell.

09
AI Lesson
AI Lesson

Understanding the PowerShell Pipeline

45m

Learn how the PowerShell pipeline passes objects between commands, and how to use Select-Object, Sort-Object, and Format cmdlets to shape output.

10
Lab Exercise
Lab Exercise

Understanding the PowerShell Pipeline - Lab Exercises

1h 15m 1 Exercises

Learn how objects flow through the PowerShell pipeline and use Select-Object, Sort-Object, Measure-Object, Group-Object, and formatting cmdlets.

11
AI Lesson
AI Lesson

Filtering and Enumerating Objects in the Pipeline

45m

Learn to use Where-Object for filtering and ForEach-Object for enumeration, comparison operators, and efficient pipeline data processing.

12
Lab Exercise
Lab Exercise

Filtering and Enumerating Objects in the Pipeline - Lab Exercises

1h 30m 2 Exercises

Filter pipeline objects with Where-Object using comparison operators and enumerate objects with ForEach-Object for transformation.

13
AI Lesson
AI Lesson

Sending Pipeline Data as Output and Passing Pipeline Objects

45m

Learn to convert and export PowerShell objects to various formats including CSV, XML, HTML, and JSON for reporting and system integration.

14
Lab Exercise
Lab Exercise

Sending Pipeline Data as Output and Passing Pipeline Objects - Lab Exercises

1h 5m 1 Exercises

Export and convert pipeline data to CSV, HTML, XML, and JSON formats. Understand pipeline parameter binding by value and by property name.

15
AI Lesson
AI Lesson

Using PSProviders and PSDrives

45m

Learn the PSProvider abstraction model that provides unified navigation across file systems, registry, Active Directory, and certificate stores.

16
Lab Exercise
Lab Exercise

Using PSProviders and PSDrives - Lab Exercises

1h 30m 3 Exercises

Work with PSProviders and PSDrives to manage file systems, registry, certificates, and Active Directory using a consistent set of cmdlets.

17
AI Lesson
AI Lesson

Querying Information with CIM and WMI

45m

Learn the difference between WMI and CIM, how to query system information programmatically, and invoke management methods on remote computers.

18
Lab Exercise
Lab Exercise

Querying Information with CIM and WMI - Lab Exercises

1h 40m 3 Exercises

Query management information using CIM and WMI cmdlets, discover classes and namespaces, connect to remote computers, and invoke methods.

19
AI Lesson
AI Lesson

Working with Variables, Arrays, and Hash Tables

45m

Learn PowerShell data structures including variables with automatic typing, arrays as ordered collections, and hash tables as key-value stores for scripting.

20
Lab Exercise
Lab Exercise

Working with Variables, Arrays, and Hash Tables - Lab Exercises

1h 40m 3 Exercises

Create and manage variables with proper data types, work with arrays and array lists, and use hash tables and custom objects in PowerShell.

21
AI Lesson
AI Lesson

Creating and Running PowerShell Scripts

45m

Learn script execution policies, code signing, and control flow constructs (ForEach, If) for automating multi-step administrative tasks.

22
Lab Exercise
Lab Exercise

Creating and Running PowerShell Scripts - Lab Exercises

1h 45m 3 Exercises

Create, sign, and run PowerShell scripts. Use execution policies, ForEach loops, If/Switch statements, and other scripting constructs.

23
AI Lesson
AI Lesson

Advanced Scripting Techniques

45m

Learn parameterized scripts, CSV data import, remote querying patterns, and credential management for production-ready PowerShell automation.

24
Lab Exercise
Lab Exercise

Advanced Scripting Techniques - Lab Exercises

1h 30m 3 Exercises

Import data from files, accept user input with parameters, handle errors with Try/Catch, debug scripts, and create reusable functions and modules.

25
AI Lesson
AI Lesson

PowerShell Remoting

45m

Learn WinRM-based remoting including one-to-one sessions, one-to-many execution, implicit remoting, and persistent session management.

26
Lab Exercise
Lab Exercise

PowerShell Remoting - Lab Exercises

2h 15m 5 Exercises

Enable and use PowerShell remoting for one-to-one and one-to-many administration, implicit remoting, and persistent PSSessions.

27
AI Lesson
AI Lesson

Managing Azure Resources with PowerShell

45m

Learn the Azure Az PowerShell module, Azure Cloud Shell, and how to manage Azure resources including VMs, resource groups, and storage with PowerShell.

28
Lab Exercise
Lab Exercise

Managing Azure Resources with PowerShell - Lab Exercises

1h 55m 3 Exercises

Install the Az module, connect to Azure, use Cloud Shell, and manage Azure resources including VMs, networking, and storage with PowerShell.

29
AI Lesson
AI Lesson

Managing Microsoft 365 with PowerShell

45m

Learn to manage Microsoft Entra ID, Exchange Online, SharePoint Online, and Microsoft Teams using PowerShell modules for bulk administration.

30
Lab Exercise
Lab Exercise

Managing Microsoft 365 with PowerShell - Lab Exercises

2h 5m 4 Exercises

Manage Microsoft 365 services including Entra ID users and groups, Exchange Online, SharePoint Online, and Microsoft Teams using PowerShell.

31
AI Lesson
AI Lesson

Using Background Jobs and Scheduled Jobs

45m

Learn Start-Job, Receive-Job for background processing and Register-ScheduledJob for recurring automation tasks in production environments.

32
Lab Exercise
Lab Exercise

Using Background Jobs and Scheduled Jobs - Lab Exercises

1h 25m 2 Exercises

Create and manage local jobs, remote jobs, and scheduled jobs. Use job triggers, scheduled tasks, and retrieve job results from history.

Under Maintenance

This course is currently being updated. Check back soon!

This course includes:

  • 24/7 AI Instructor Support
  • Live Lab Environments
  • 16 Hands-on Lessons
  • Completion Badge
AZ-040: Automating Administration with PowerShell Badge

Earn Your Badge

Complete all lessons to unlock the AZ-040: Automating Administration with PowerShell achievement badge.

Skill Level Advanced
Total Duration 1d 12h 50m
AZ-040: Automating Administration with PowerShell Badge
Achievement Badge

AZ-040: Automating Administration with PowerShell

Awarded for completing the AZ-040 course covering PowerShell automation for Azure and Windows administration.

Course AZ-040: Automating Administration with PowerShell
Criteria Complete all lessons in the AZ-040 PowerShell Automation course
Valid For 730 days

Skills You'll Earn

PowerShell Automation Azure Management Scripting Active Directory Remote Administration

Complete all lessons in this course to earn this badge