
Learn to automate administration tasks across enterprise networks and strengthen security skills with Windows Server 2019 and PowerShell, covering cmdlets, pipelines, providers, WMI, and remote management.
Set up a PowerShell 7 lab network with a domain controller, certificate authority, and a client PC, plus labs on WMI explorer and code signing.
Update the course list highlights two tracks: Windows Server 2019 networking and Azure integration, and PowerShell automation, covering Active Directory, certification authority, security, and labs.
Prepare lab network by reverting machines to snapshots, powering on, ensuring internet access, fixing trust relationships to join the domain, upgrade PowerShell, install the Help library, and create a checkpoint.
Explore how PowerShell entities, scripts, and modules collaborate for network management, and compare workflows across 5.0/5.1 and 6.2 with Nugget provider, PowerShell gallery, and module upgrades.
Upgrade PowerShell from 5.1 to 6 on the server via MSI, keep both versions, then update PowerShellGet and PackageManagement from the PowerShell Gallery, addressing 5 and 6 provider compatibility.
Upgrade PowerShell from 5 to 6 on PC one, install the NuGet package provider, and update libraries and help. Reinstall PackageManagement and PowerShellGet to enable future updates and WMI tool.
Learn how a code signing certificate provides authentication and encryption to protect script files from tampering, with a Certification Authority stamp and execution policy validation.
Learn how to prepare and issue a code signing certificate by configuring an Active Directory certificate authority template, duplicating it, and enrolling Victoria PC one to sign PowerShell scripts.
Use the WMI Explorer to manage Windows resources via Windows management instrumentation, integrate with PowerShell, download from GitHub, and deploy to Victoria PC one for remote access.
Install remote server administration tools (rsat) on Windows 10, connect to Victoria DC one, and manage Active Directory with the available administrative tools.
Create and manage snapshots for all lab machines in VMware to ensure a synchronized revert point, preserving PowerShell 6.2 configurations across router, servers, and PC.
Explore PowerShell tools and environments, compare Windows PowerShell and the ISE, learn to run as administrator, manage modules, view commands, and create simple .ps1 scripts.
Explore get-command and get-help in PowerShell, learn verb-noun syntax, wildcard searches, and saving command transcripts for efficient administration.
Learn to build PowerShell command syntax by exploring get-help, examples, and properties, and filter outputs like get computer info and get event log for targeted results.
Learn to access PowerShell 7 help files with get-help, view and save command output to files via redirection and append, and explore environment variables and aliases.
Explore managing Active Directory with PowerShell 5.1: create and move organizational units, groups, and users, set passwords non-interactively, enable accounts, and query group members.
Learn to manage device network settings with PowerShell by viewing IP interfaces, filtering for IPv4, configuring Ethernet addresses, testing connectivity, and updating DNS client settings.
Install and configure the IIS web server from PowerShell, create a site and application pool, deploy a default page, and verify accessibility via localhost on the server.
Harness the PowerShell pipeline to filter, select, and format data for admin tasks. Learn through practical examples from active directory to firewall and network commands, how multiple pipes streamline workflows.
Build and run a PowerShell report of all running services on Victoria, showing each service's startup type, status, and dependencies, and save it as victoria DC one service.txt.
Learn to use calculated properties in PowerShell to add a device column to Get-ChildItem results with Select Object and an expression that returns hostname.
Learn pipeline parameter binding in PowerShell 7 using expression parameters and variables to pass computer names between commands, with binding techniques and common pitfalls.
Learn pipeline parameter binding in PowerShell 7, filter to a single computer, and understand why a script is needed to collect services from all devices while handling offline machines.
Learn how to bind pipeline parameters to run remote PowerShell commands without scripts, using Invoke-Command and Get-Service to stop and start the bits service across multiple computers.
Apply PowerShell to stop the IP helper service across multiple machines using invoke-command with the computer-name parameter, and verify the service state while handling offline hosts.
Discover how PSProvider and PSDrive navigate the file system and registry with native commands. Create and persist drives for shared folders, including SMB shares on a remote computer.
Explore PowerShell 7 providers for file system, registry, and Active Directory, and manage directories, registry keys, and Active Directory groups using direct commands.
Learn to access devices and perform administration with Windows management instrumentation (WMI) in PowerShell, using get-wmiobject and namespaces, and secure remote access via PowerShell web access (PSWA).
Explore practical WMI commands in PowerShell to retrieve IP configurations, operating system details, and services using Get-WMIObject across namespaces, with pipeline expressions and formatted output.
Explore the differences between get-wmiobject and get-ciminstance, learn how to query Windows 32 user accounts and network adapter configurations, and remotely invoke methods to restart or manage devices.
Explore the differences between WMI and CIM in PowerShell 7, including security and network access. Learn when to use CIM over WMI for remote management and data access.
Activate PowerShell web access via GUI or a PowerShell command by installing the Windows feature. Access the PowerShell web access page on localhost and configure a certificate to enable https.
Learn to declare and manipulate variables in PowerShell 7, including types and string concatenation, and apply date-time operations and last log in filters in Active Directory.
Master PowerShell variables by saving user data to arrays and array lists and hash tables, then add, remove, and count entries, access by index, and prepare for loops and conditionals.
Stamp a PowerShell script with a code signing certificate from a certification authority to authenticate it, then enforce an all signed execution policy to prevent tampered or unauthorized scripts.
Learn how to apply a code signing certificate in PowerShell 7, set and test execution policies, sign scripts, and manage trusted publishers and CA certificates.
Learn how to use if statements and foreach loops in PowerShell to retrieve Active Directory computer names, filter and print specific items, and build a script.
Automate Active Directory user creation from a CSV with a PowerShell script, including loading the CSV, creating the organizational unit, and converting passwords to secure strings.
Learn how to capture user input with read host in PowerShell 7, store it in variables, and drive scripts with conditional logic and loops.
Enable remote learning on multiple devices using PowerShell remoting by setting execution policy to remote signed, enabling PS remoting, and validating session configurations for secure remote access.
About this course
Welcome to the Automating Administration with PowerShell course, which focuses on using PowerShell to automate the administration and management of Windows operating systems and some of the most common services in Microsoft Azure and Microsoft 365. You'll learn to identify the commands you require to perform specific tasks and then build those commands. You'll also learn how to build scripts to accomplish advanced tasks such as automating repetitive tasks and generating reports.
Note: This course covers the use of PowerShell for managing Windows operating systems and Azure and Microsoft 365 services. It doesn’t cover management of the Linux or macOS operating systems.
Level: Intermediate
Audience
This course is for IT Professionals who are already experienced in general Windows Server, Windows client, Azure, and Microsoft 365 administration, and who want to learn more about using PowerShell for administration. No prior experience with any version of PowerShell or any scripting language is assumed. This course is also suitable for IT Professionals already experienced in server administration, including Microsoft Exchange Server, Microsoft SharePoint Server, and Microsoft SQL Server.
Contents
■■
Module 0 Course introduction .
About this course .
■■
Module 1 Getting started with Windows PowerShell .
Windows PowerShell overview .
Understand Windows PowerShell command syntax .
Find commands and get help in Windows PowerShell .
Module 01 lab and review .
■■
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 .
Module 02 lab and review .
■■
Module 3 Working with the Windows PowerShell pipeline .
Understand the pipeline .
Select, sort, and measure objects .
Filter objects out of the pipeline .
Module 03 lab A and review .
Enumerate objects in the pipeline .
Send pipeline data as output .
Module 03 lab B and review .
Pass pipeline objects .
■■
Module 4 Using PSProviders and PSDrives .
Using PSProviders .
Using PSDrives .
Module 04 lab and review .
■■
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 .
Module 05 lab and review .
■■
Module 6 Working with variables, arrays, and hash tables .
Use variables .
Manipulate variables .
Manipulate arrays and hash tables .
Module 06 lab and review .
■■
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 .
Module 07 lab and review .
■■
Module 8 Administering remote computers with Windows PowerShell .
Use basic Windows PowerShell remoting .
Use advanced Windows PowerShell remoting techniques .
Use PSSessions .
Module 08 lab and review .
■■
Module 9 Managing Azure resources with PowerShell .
Azure PowerShell .
Introduce Azure Cloud Shell .
Manage Azure VMs with PowerShell .
Manage storage and subscriptions .
Module 09 lab and review .
■■
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 .
Module 10 lab and review .
■■
Module 11 Using background jobs and scheduled jobs .
Use background jobs .
Use scheduled jobs .
Module 11 lab and review .