AZ-040T00: Automating Administration with PowerShell
Gain fundamental knowledge and skills to use PowerShell for administering and automating administration of Windows servers.
Description
Overview
This course provides students with the fundamental knowledge and skills to use PowerShell for administering and automating administration of Windows servers. This course provides students the skills to identify and build the command they require to perform a specific task. In addition, students learn how to build scripts to accomplish advanced tasks such as automating repetitive tasks and generating reports. This course provides prerequisite skills supporting a broad range of Microsoft products, including Windows Server, Windows Client, Microsoft Azure, and Microsoft 365. In keeping with that goal, this course will not focus on any one of those products, although Windows Server, which is the common platform for all of those products, will serve as the example for the techniques this course teaches.
Course Objectives
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
- Query system information by 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
Who Should Attend
This course is intended 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 Windows 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.
Course Outline
Lesson 1: Getting Started with Windows PowerShell
- Windows PowerShell overview
- Understand Windows PowerShell command syntax
- Find commands and get help in Windows PowerShell
Lesson 2: Windows PowerShell For Local Systems Administration
- Active Directory Domain Services administration cmdlets
- Network configuration cmdlets
- Server administration cmdlets
- Windows PowerShell in Windows 10
Lesson 3: Working With the Windows PowerShell Pipeline
- 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
Lesson 4: Using PSProviders and PSDrives
- Using PSProviders
- Using PSDrives
Lesson 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
Lesson 6: Working With Variables, Arrays, And Hash Tables
- Use variables
- Manipulate variables
- Manipulate arrays and hash tables
Lesson 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
Lesson 8: Administering Remote Computers with Windows PowerShell
- Use basic Windows PowerShell remoting
- Use advanced Windows PowerShell remoting techniques
- Use PSSessions
Lesson 9: Managing Azure Resources with PowerShell
- Azure PowerShell
- Introduce Azure Cloud Shell
- Manage Azure VMs with PowerShell
- Manage storage and subscriptions
Lesson 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
Lesson 11: Using Background Jobs and Scheduled Jobs
- Use background jobs
- Use scheduled jobs
Prerequisites
Before attending this course, students must have:
- Experience with Windows networking technologies and implementation
- Experience with Windows Server administration, maintenance, and troubleshooting