Microsoft Private Public

Automate Administration with PowerShell (AZ-040T00)

Learn to automate Windows administration with PowerShell, create scripts, manage remote systems, and administer Azure and Microsoft 365 services efficiently.

Register or Request Training

Price per student
$2,935.10
Guaranteed to run
Select a date
Please select a class.
  • Private class for your team
  • Live expert instructor
  • Online or on‑location
  • Customizable agenda
  • Proposal responses same day as request

Course Overview

Learn to use PowerShell to administer Windows systems and automate repetitive tasks. This course covers command discovery, pipelines, providers, CIM and WMI, scripting, remoting, background and scheduled jobs, and administration across Windows Server, Azure, and Microsoft 365.

Designed for experienced IT professionals, the course uses Windows Server as the primary platform for demonstrating techniques that also support Windows clients, Azure, Microsoft Entra ID, Exchange Online, SharePoint Online, and Microsoft Teams. No prior PowerShell or scripting experience is required.

Course Benefits

  • Find, interpret, and run PowerShell commands for administrative tasks.
  • Administer local Windows systems, Windows Server services, networking, Active Directory Domain Services, and permissions.
  • Use the PowerShell pipeline to select, sort, filter, enumerate, format, and export data.
  • Work with PowerShell providers and drives to manage file systems, the registry, certificates, and other data stores.
  • Query and manipulate configuration information with CIM and WMI.
  • Create PowerShell scripts using variables, arrays, hash tables, control structures, imported data, user input, functions, and modules.
  • Troubleshoot scripts, interpret errors, and use breakpoints and error actions.
  • Administer local and remote computers with PowerShell remoting and persistent sessions.
  • Manage Azure resources and Microsoft 365 services with PowerShell.
  • Create and manage background jobs, scheduled jobs, and scheduled tasks.

Delivery Methods

Public Class
Live expert-led online training from anywhere. Guaranteed to run .
Private Class
Delivered for your team at your site or online.

Microsoft Certified Partner

Webucator is a Microsoft Certified Partner. This class uses official Microsoft courseware and will be delivered by a Microsoft Certified Trainer (MCT).

Microsoft Certified Partner

Course Outline

  1. Review Windows PowerShell
    1. Learn about Windows PowerShell and its applications
    2. Install and use Windows PowerShell
    3. Configure the PowerShell console and Integrated Scripting Environment
    4. Use Visual Studio Code with PowerShell
  2. Understand command syntax in Windows PowerShell
    1. Explore the structure of PowerShell cmdlets
    2. Use cmdlet parameters
    3. Use tab completion
    4. Display About help content
  3. Find commands and use Get-Help
    1. Define modules and find cmdlets
    2. Use command aliases
    3. Use Show-Command and Get-Help
    4. Interpret and update local help content
  4. Manage Active Directory Domain Services with PowerShell cmdlets
    1. Manage user accounts
    2. Manage groups and group memberships
    3. Manage computer accounts
    4. Manage organizational units and Active Directory objects
  5. Manage network service settings for Windows devices
    1. Manage IP addresses and routing
    2. Manage DNS clients
    3. Manage Windows Firewall settings
  6. Manage Windows Server settings
    1. Automate Group Policy management tasks
    2. Manage server roles and services
    3. Manage Hyper-V virtual machines
    4. Manage Internet Information Services
  7. Manage settings for a local Windows machine
    1. Manage Windows 10 with PowerShell
    2. Manage permissions with PowerShell
  8. Understand the Windows PowerShell pipeline
    1. Review the pipeline and its output
    2. Discover object members
    3. Control pipeline output formatting
  9. Select, sort, and measure pipeline objects
    1. Sort and group objects by property
    2. Measure and select objects
    3. Select object properties
    4. Create and format calculated properties
  10. Filter objects out of the pipeline
    1. Use PowerShell comparison operators
    2. Apply basic and advanced filter syntax
    3. Optimize filter performance
  11. Enumerate objects in the pipeline
    1. Understand pipeline enumeration
    2. Use basic and advanced enumeration syntax
  12. Send and pass data as pipeline output
    1. Write pipeline data to a file
    2. Convert pipeline objects to other data representations
    3. Control additional output options
  13. Pass pipeline objects
    1. Understand pipeline parameter binding
    2. Identify and use ByValue parameters
    3. Identify and use ByPropertyName parameters
    4. Override the pipeline with manual parameters
    5. Use parenthetical commands and expand property values
  14. Connect to data stores with PowerShell providers
    1. Define PowerShell providers
    2. Review built-in providers
    3. Access provider help
  15. Use PowerShell drives
    1. Understand and use PowerShell drive cmdlets
    2. Manage the file system and registry
    3. Work with certificates and other PowerShell drives
  16. Review CIM and WMI
    1. Review CIM and WMI architecture and repositories
    2. Locate online class documentation with CIM and WMI cmdlets
  17. Query configuration information with CIM and WMI
    1. List local repository namespaces and classes
    2. Query instances with commands and WMI Query Language
    3. Connect to remote computers
    4. Query remote repository classes with CIMSession objects
  18. Query and manipulate repository objects with CIM and WMI methods
    1. Discover repository object methods
    2. Locate class methods and documentation
    3. Invoke repository object methods
  19. Manage variables in Windows PowerShell scripts
    1. Define and name variables
    2. Assign values and types to variables
    3. Identify variable methods and properties
    4. Use string and date variables and methods
  20. Work with arrays and hash tables
    1. Define and use arrays and array lists
    2. Define and use hash tables
  21. Create and run scripts with Windows PowerShell
    1. Review and create PowerShell scripts
    2. Modify scripts from the PowerShell Gallery
    3. Use the PowerShellGet module
    4. Run scripts and set the execution policy
    5. Review AppLocker and digitally sign scripts
  22. Work with PowerShell scripting constructs
    1. Use ForEach and For loops
    2. Use If and Switch constructs
    3. Use other loop constructs
    4. Use Break and Continue
  23. Import data in different formats for use in scripts
    1. Use Get-Content
    2. Use Import-Csv
    3. Use Import-Clixml
    4. Use ConvertFrom-Json
  24. Accept user input in PowerShell scripts
    1. Identify values that might change
    2. Use Read-Host, Get-Credential, and Out-GridView
    3. Pass parameters to a PowerShell script
  25. Troubleshoot scripts and handle errors
    1. Interpret PowerShell error messages
    2. Add output to scripts
    3. Use breakpoints
    4. Interpret error actions
  26. Use functions and modules in PowerShell scripts
    1. Create and use functions
    2. Use variable scope
    3. Create modules
    4. Use dot sourcing
  27. Manage computers with PowerShell remoting
    1. Review remoting, remote connectivity, and remoting security
    2. Enable PowerShell remoting
    3. Use one-to-one and one-to-many remoting
    4. Compare remote and local output
  28. Use advanced PowerShell remoting techniques
    1. Review common remoting techniques
    2. Send parameters to remote computers
    3. Protect variables, aliases, and functions with scope modifiers
    4. Enable multi-hop remoting
  29. Manage persistent remote connections with PowerShell sessions
    1. Review persistent connections
    2. Create, manage, and disconnect PSSessions
    3. Use implicit remoting
  30. Review the Azure PowerShell module
    1. Review Azure PowerShell and its benefits
    2. Install the Azure PowerShell module
    3. Migrate from AzureRM to Azure PowerShell
    4. Review PowerShell modules for Azure Active Directory
  31. Review Azure Cloud Shell features and tools
    1. Review Azure Cloud Shell characteristics, features, and tools
    2. Configure and experiment with Azure Cloud Shell
  32. Manage Azure resources with Windows PowerShell
    1. Create and manage Azure virtual machines
    2. Manage Azure storage
    3. Manage Azure subscriptions
  33. Manage users, groups, and licenses in Microsoft Entra ID
    1. Connect to a Microsoft 365 tenant
    2. Manage Microsoft 365 users and groups
    3. Manage Microsoft 365 roles and licenses
  34. Manage Exchange Online with Windows PowerShell
    1. Connect to Exchange Online
    2. Manage mailboxes and resources
    3. Manage administrative roles
  35. Manage SharePoint Online with Windows PowerShell
    1. Install and connect to the SharePoint Online Management Shell
    2. Manage SharePoint Online users and groups
    3. Manage SharePoint sites
    4. Manage external user sharing
  36. Manage Microsoft Teams with Windows PowerShell
    1. Review and install the Microsoft Teams PowerShell module
    2. Manage teams with the Microsoft Teams PowerShell module
  37. Create and manage background jobs
    1. Define types of PowerShell background jobs
    2. Start remote and CIM or WMI jobs
    3. Monitor jobs
    4. Retrieve job results
  38. Create and manage scheduled jobs
    1. Run PowerShell scripts as scheduled tasks
    2. Define scheduled jobs
    3. Create job option and trigger objects
    4. Create and register a scheduled job
    5. Retrieve scheduled job results

Class Materials

Each student receives a comprehensive set of materials, including course notes and all class examples.

Class Prerequisites

Experience in the following is required for this PowerShell class:

  • Experience with Windows networking technologies and implementation.
  • Experience with Windows Server administration, maintenance, and troubleshooting.

Experience in the following would be useful for this PowerShell class:

  • General administration experience with Windows clients, Azure, or Microsoft 365 is useful.
  • No previous PowerShell or scripting-language experience is required.

Have questions about this course?

We can help with curriculum details, delivery options, pricing, or anything else. Reach out and we’ll point you in the right direction.