Course Outline
Module 1: Getting started with Windows PowerShell
This module introduces participants to Windows PowerShell and provides an overview of its core functionality. The content explains how to launch and configure the PowerShell environment, as well as how to execute commands and navigate the built-in help system within Windows PowerShell.
Lessons
-
Windows PowerShell overview
-
Understand Windows PowerShell command syntax
-
Find commands and get help in Windows PowerShell
Lab : Configuring Windows PowerShell, and finding and running commands
- Configuring the Windows PowerShell console application
- Configuring the Windows PowerShell ISE application
- Finding and running Windows PowerShell commands
- Using About files
After completing this module, students will be able to:
-
Describe key features of Windows PowerShell, and open and configure it.
-
Discover, learn, and run Windows PowerShell commands.
-
Find Windows PowerShell commands for performing specific tasks.
Module 2: Windows PowerShell for local systems administration
This module introduces the various types of cmdlets commonly employed for system administration. While participants could search for cmdlets every time a task arises, it is more efficient to maintain a foundational understanding of these tools. This module also demonstrates how to manage Windows 10 using PowerShell.
Lessons
-
Active Directory Domain Services administration cmdlets
-
Network configuration cmdlets
-
Server administration cmdlets
-
Windows PowerShell in Windows 10
Lab : Performing local system administration with PowerShell
- Creating and managing Active Directory objects
- Configuring network settings on Windows Server
- Creating a website
After completing this module, students will be able to:
-
Identify and use cmdlets for AD DS administration.
-
Identify and use cmdlets for network configuration.
-
Identify and use cmdlets for server administration tasks.
-
Manage Windows 10 using PowerShell
Module 3: Working with the Windows PowerShell pipeline
This module introduces the pipeline feature of Windows PowerShell. Although this feature exists in several command-line shells like the Windows command prompt, the pipeline in Windows PowerShell offers more complex, flexible, and capable functionalities. The module provides the skills and knowledge necessary to enhance the effectiveness and efficiency of Windows PowerShell usage.
Lessons
-
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 : Using PowerShell pipeline
- Selecting, sorting, and displaying data
- Filtering objects
- Enumerating objects
- Converting objects
After completing this module, students will be able to:
-
Describe the purpose of the Windows PowerShell pipeline.
-
Select, sort, and measure objects in the pipeline.
-
Filter objects out of the pipeline.
-
Enumerate objects in the pipeline.
-
Send output consisting of pipeline data.
Module 4: Using PSProviders and PSDrives
This module introduces the PSProviders and PSDrives adapters. A PSProvider acts as an adapter that makes various forms of storage appear like a hard drive, while a PSDrive represents a concrete connection to that storage. These technologies allow users to interact with different storage types using the same commands and techniques applied to the file system.
Lessons
-
Using PSProviders
-
Using PSDrives
Lab : Using PSProviders and PSDrives with PowerShell
- Creating files and folders on a remote computer
- Creating a registry key for your future scripts
- Create a new Active Directory group
After completing this module, students will be able to:
-
Use PSProviders.
-
Use PSDrives.
Module 5: Querying management information by using CIM and WMI
This module introduces two parallel technologies: Windows Management Instrumentation (WMI) and Common Information Model (CIM). Both technologies provide local and remote access to a repository of management information, including robust data from the operating system, computer hardware, and installed software.
Lessons
-
Understand CIM and WMI
-
Query data by using CIM and WMI
-
Make changes by using CIM and WMI
Lab : Querying information by using WMI and CIM
- Querying information by using WMI
- Querying information by using CIM
- Invoking methods
After completing this module, students will be able to:
-
Differentiate between CIM and WMI.
-
Query management information by using CIM and WMI.
-
Invoke methods by using CIM and WMI.
Module 6: Working with variables, arrays, and hash tables
Variables are a crucial component of scripting. They enable the completion of complex tasks that cannot be achieved with a single command. This module explains how to work with variables, arrays, and hash tables as foundational steps in creating Windows PowerShell scripts.
Lessons
-
Use variables
-
Manipulate variables
-
Manipulate arrays and hash tables
Lab : Using variables, arrays, and hash tables in PowerShell
- Working with variable types
- Using arrays
- Using hash tables
After completing this module, students will be able to:
-
Assign a value to variables.
-
Describe how to manipulate variables.
-
Describe how to manipulate arrays and hash tables.
Module 7: Windows PowerShell scripting
This module explains how to package a Windows PowerShell command into a script. Scripts enable the performance of repetitive tasks and more complex operations that are not feasible within a single command.
Lessons
-
Introduction to scripting with Windows PowerShell
-
Script constructs
-
Import data from files
-
Accept user input
-
Troubleshooting and error handling
-
Functions and modules
Lab : Using scripts with PowerShell
- Signing a script
- Processing an array with a ForEach loop
- Processing items by using If statements
- Creating users based on a CSV file
- Querying disk information from remote computers
- Updating the script to use alternate credentials
After completing this module, students will be able to:
-
Run a Windows PowerShell script.
-
Use Windows PowerShell scripting constructs.
-
Import data from a file.
-
Accept user input for a script.
-
Implement error handling for a script.
-
Explain functions and modules.
Module 8: Administering remote computers with Windows PowerShell
This module introduces Windows PowerShell remoting technology, which allows users to connect to one or more remote computers and direct them to run commands on the user's behalf.
Lessons
-
Use basic Windows PowerShell remoting
-
Use advanced Windows PowerShell remoting techniques
-
Use PSSessions
Lab : Performing remote administration with PowerShell
- Enabling remoting on the local computer
- Performing one-to-one remoting
- Performing one-to-many remoting
- Using implicit remoting
After completing this module, students will be able to:
-
Describe remoting architecture and security.
-
Use advanced Windows PowerShell remoting techniques.
-
Create and manage persistent remoting sessions.
Module 9: Managing Azure resources with PowerShell
This module provides guidance on installing the necessary modules for cloud services management. It explains how to use PowerShell commands to perform simple administrative tasks on cloud resources, such as Azure virtual machines (VMs), Azure storage accounts, and Azure subscriptions. Additionally, the module describes how to use the Azure Cloud Shell environment to conduct PowerShell-based or Bash-based administration directly from the Azure portal.
Lessons
-
Azure PowerShell
-
Introduce Azure Cloud Shell
-
Manage Azure VMs with PowerShell
-
Manage storage and subscriptions
Lab : Azure resource management with PowerShell
- Activating the Azure subscription and installing the PowerShell Az module
- Using Azure Cloud Shell
- Managing Azure resources with Azure PowerShell
After completing this module, students will be able to:
-
Describe, install, and use the Azure PowerShell environment
-
Describe and use Azure Cloud Shell.
-
Manage Azure VMs with PowerShell.
-
Manage Azure storage accounts and subscriptions with Azure PowerShell.
Module 10: Managing Microsoft 365 services with PowerShell
This module describes how to use PowerShell to manage Microsoft 365 user accounts, licenses, and groups, as well as Exchange Online, SharePoint Online, and Microsoft Teams.
Lessons
-
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 Microsoft 365 with PowerShell
- Managing users and groups in Azure AD
- Managing Exchange Online
- Managing SharePoint
- Managing Microsoft Teams
After completing this module, students will be able to:
-
Use PowerShell to manage users, groups, and licenses in Azure AD
-
Manage Exchange Online with PowerShell.
-
Manage SharePoint Online with PowerShell.
-
Manage Microsoft Teams with PowerShell.
Module 11: Using background jobs and scheduled jobs
This module describes how to utilize background jobs and scheduled jobs. It also explains the process of creating scheduled jobs and retrieving their results.
Lessons
-
Use background jobs
-
Use scheduled jobs
Lab : Jobs management with PowerShell
- Starting and managing jobs
- Creating a scheduled job
After completing this module, students will be able to:
-
Create and manage background jobs.
-
Create and manage scheduled jobs.
Requirements
Before attending this course, students must have:
- Experience with Windows networking technologies and implementation.
- Experience with Windows Server administration, maintenance, and troubleshooting.
Testimonials (2)
Examples and their usage
Dariusz Frycz - WASKO SPOLKA AKCYJNA
Course - AZ-040T00: Automating Administration with PowerShell
Examples, relaxed atmosphere, ...