AZ-040 Automating Administration with PowerShell

AZ-040 Automating Administration with PowerShell

Course Summary

The course provides basic knowledge and skills in using PowerShell to administer and automate the administration of Windows servers.
The course provides participants with the skills to identify and build the command they need to perform a specific task.
In addition, you will learn how to build scripts to perform advanced tasks such as automating repetitive tasks and generating reports.
The course provides prerequisite skills to support a wide range of Microsoft products, including Windows Server, Windows Client, Microsoft Azure and Microsoft 365.
In line with this objective, the course will not focus on any of these products, although Windows Server, which is the common platform for all these products, will serve as an example for the techniques taught in the course.

This product is currently out of stock and unavailable.

Course Objective

After completing this course, students will be able to:

  • Describe the functionality of Windows PowerShell and use it to run and find basic commands.
  • Identify and run cmdlets for local system administration.
  • Work with the Windows PowerShell pipeline.
  • Use PSProviders and PSDrives to work with other forms of storage.
  • Search for system information using WMI and CIM.
  • Work with variables, arrays and hash tables.
  • Create basic scripts in Windows PowerShell.
  • Administer remote computers with Windows PowerShell.
  • Manage Azure resources with PowerShell.
  • Manage Microsoft 365 services with PowerShell.
  • Use background jobs and scheduled jobs.
Target Audience

This course is intended for IT professionals who already have experience with general administration of Windows Server, Windows Client, Azure, and Microsoft 365 and who want to learn more about how to use Windows PowerShell for administration.
No previous experience with any version of PowerShell or any scripting language is assumed.
The course is also suitable for IT professionals who already have experience with server administration, including Microsoft Exchange Server, Microsoft SharePoint Server, and Microsoft SQL Server.

Prerequisites

Before attending this course, students must have:

  • Experience in network engineering and Windows implementation.
  • Experience in Windows Server administration, maintenance and troubleshooting.
Certification

This course has no certification.

Trainer
Course Details

Module 1: Getting started with Windows PowerShell

This module provides an introduction to Windows PowerShell and an overview of the product’s features.
This module explains how to open and configure Windows PowerShell.
It also explains how to run commands and use the built-in help system in Windows PowerShell.

Lessons

  • Overview of Windows PowerShell
  • Syntax of Windows PowerShell commands
  • Find commands and get help in Windows PowerShell

Lab : Configuring Windows PowerShell and finding and running commands

  • Configuring the Windows PowerShell console program
  • Configuring the Windows PowerShell ISE program
  • Find and run Windows PowerShell commands
  • Using About files

After completing this module, participants will be able to:

  • Describe key features of Windows PowerShell and how to open and configure it.
  • Discover, learn and run Windows PowerShell commands.
  • Find Windows PowerShell commands to perform specific tasks.

Module 2: Windows PowerShell for local system administration

This module introduces you to the different types of cmdlets commonly used for system administration.
You can search for cmdlets every time you need to perform a task, but it is more efficient to have at least a basic understanding of these cmdlets.
This module also explains how to manage Windows 10 using PowerShell.

Lessons

  • Cmdlets for Active Directory Domain Services administration
  • Cmdlets for network configuration
  • Cmdlets for server administration
  • Windows PowerShell in Windows 10

Lab : Performing local system administration with PowerShell

  • Create and manage Active Directory objects
  • Configuring network settings on Windows Server
  • Create a website

After completing this module, participants will be able to:

  • Identify and use cmdlets for AD DS administration.
  • Identify and use network configuration cmdlets.
  • Identify and use cmdlets for server administration tasks.
  • Managing Windows 10 using PowerShell

Module 3: Working with the Windows PowerShell pipeline

This module introduces the pipeline feature of Windows PowerShell.
The pipeline feature is included in several command-line shells, such as the command prompt in the Windows operating system.
However, the pipeline feature in Windows PowerShell provides more complex, flexible, and capable functionality compared to other shells.
This module provides you with the skills and knowledge to help you use Windows PowerShell more efficiently and effectively.

Lessons

  • Understanding the pipeline
  • Selecting, sorting and measuring objects
  • Filter out items from the pipeline
  • Enumerate items in the pipeline
  • Send and forward pipeline data as output

Lab : Using the PowerShell pipeline

  • Selecting, sorting and viewing data
  • Filtering of objects
  • Enumeration of objects
  • Convert objects

After completing this module, participants will be able to:

  • Describe the purpose of the Windows PowerShell pipeline.
  • Select, sort and measure items in the pipeline.
  • Filter out items from the pipeline.
  • Enumerate items in the pipeline.
  • Send output consisting of pipeline data.

Module 4: Using PSProviders and PSDrives

This module introduces the adapters PSProviders and PSDrives.
A PSProvider is basically a Windows PowerShell adapter that makes some form of storage look like a hard disk.
A PSDrive is an actual connection to a form of storage.
You can use these two technologies to work with different forms of storage by using the same commands and techniques that you use to manage the file system.

Lessons

  • Using PSP providers
  • Using PSDrives

Lab: Using PSProviders and PSDrives with PowerShell

  • Create files and folders on a remote computer
  • Create a registry key for your future scripts
  • Create a new Active Directory group

After completing this module, participants will be able to:

  • Use PSP providers.
  • Use PSDrives.

Module 5: Querying management information using CIM and WMI

This module introduces you to two parallel technologies: Windows Management Instrumentation (WMI) and Common Information Model (CIM).
Both of these technologies provide local and remote access to an archive of management information, including access to robust information available from the operating system, computer hardware and installed software.

Lessons

  • Understanding CIM and WMI
  • Query data using CIM and WMI
  • Make changes using CIM and WMI

Laboration : Query for information using WMI and CIM

  • Query for information using WMI
  • Searching for information using CIM
  • Calling methods

After completing this module, participants will be able to:

  • Distinguish between CIM and WMI.
  • Query management information using CIM and WMI.
  • Calling methods by using CIM and WMI.

Module 6: Working with variables, arrays and hash tables

Variables are an important component of scripts.
You can use variables to accomplish complex tasks that you cannot complete with a single command.
This module explains how to work with variables, arrays, and hash tables as steps in learning how to create Windows PowerShell scripts.

Lessons

  • Use variables
  • Manipulating variables
  • Manipulating arrays and hash tables

Lab : Using variables, arrays and hash tables in PowerShell

  • Working with variable types
  • Using matrices
  • Using hash tables

After completing this module, participants will be able to:

  • Assign a value to variables.
  • Describe how to manipulate variables.
  • Describe how to manipulate arrays and hash tables.

Module 7: Scripting with Windows PowerShell

This module describes how to package a Windows PowerShell command into a script.
Scripts allow you to perform repetitive tasks and more complex tasks that cannot be performed with a single command.

Lessons

  • Introduction to scripting with Windows PowerShell
  • Script constructs
  • Importing data from files
  • Accept user input
  • Troubleshooting and fault management
  • Features and modules

Lab : Using scripts with PowerShell

  • Signing a script
  • Processing an array with a ForEach loop
  • Processing objects using If statements
  • Create users based on a CSV file
  • Query disk information from remote computers
  • Updating the script to use alternative credentials

After completing this module, participants will be able to:

  • Run a Windows PowerShell script.
  • Using Windows PowerShell script constructs.
  • Importing 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 you to the Windows PowerShell remote control technology that allows you to connect to one or more remote computers and instruct them to run commands for you.

Lessons

  • Using basic Windows PowerShell remote control
  • Using advanced Windows PowerShell techniques for remote control
  • Use PSSessions

Lab : Performing remote administration with PowerShell

  • Activate remote control on the local computer
  • Performing one-to-one relocation
  • Performing one-to-many remote control
  • Using implicit remote control

After completing this module, participants will be able to:

  • Describe the architecture and security of remoting.
  • Using advanced Windows PowerShell techniques for remote control.
  • Create and manage persistent remoting sessions.

Module 9: Managing Azure resources with PowerShell

This module provides information on how to install the modules needed for cloud service management.
It explains how to use PowerShell commands to perform some simple administrative tasks on cloud resources such as Azure virtual machines (VMs), Azure storage accounts, and Azure subscriptions.
The module also describes how to use the Azure Cloud Shell environment to perform PowerShell-based or Bash-based administration directly from the Azure portal.

Lessons

  • Azure PowerShell
  • Introducing the Azure Cloud Shell
  • Managing Azure VMs with PowerShell
  • Managing storage and subscriptions

Lab: Managing Azure resources with PowerShell

  • Activating the Azure subscription and installing the PowerShell Az module
  • Using the Azure Cloud Shell
  • Manage Azure resources with Azure PowerShell

After completing this module, participants will be able to:

  • Describe, install and use the Azure PowerShell environment
  • Describe and use the 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 user accounts, licenses, and groups for Microsoft 365, Exchange Online, SharePoint Online, and Microsoft Teams.

Lessons

  • Manage Microsoft 365 user accounts, licenses and groups with PowerShell
  • Managing Exchange Online with PowerShell
  • Managing SharePoint Online with PowerShell
  • Manage Microsoft Teams with PowerShell

Lab : Managing Microsoft 365 with PowerShell

  • Manage users and groups in Azure AD
  • Managing Exchange Online
  • Management of SharePoint
  • Managing Microsoft Teams

After completing this module, participants will be able to:

  • Using 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 use background jobs and scheduled jobs.
It also explains how to create scheduled jobs and retrieve job results.

Lessons

  • Use background jobs
  • Use scheduled jobs

Lab: Managing jobs with PowerShell

  • Starting and managing jobs
  • Create a scheduled job

After completing this module, participants will be able to:

  • Create and manage background jobs.
  • Create and manage scheduled jobs.

Course Overview

4 days

Can’t find a (suitable) date, but are interested in the course? Send in an expression of interest and we will do what we can to find a suitable opportunity.

Customized Courses

The course can be adapted from several perspectives:

  • Content and focus area
  • Extent and scope
  • Delivery approach

In interaction with the course leader, we ensure that the course meets your needs.

Send an expression of interest for the training

Send an expression of interest for the training