This course focuses on using Advanced PowerShell techniques to automate the administration and management of Windows operating systems. This course provides learners with the knowledge and skills needed to create production-quality PowerShell tools.
About this course
You'll learn how to build advanced Scripts, Functions and custom Modules to create a custom Toolset for other users to use in your environment.
Note: This course covers the use of PowerShell for managing Windows operating systems. It doesn’t cover management of the Linux or macOS operating systems.
Level: Intermediate\Advanced
Audience
This course is intended for IT professionals already experienced in general Windows Server and Windows Client administration. Students should already have a foundational knowledge of Windows PowerShell, which can be obtained by taking course AZ040: Automating Administration with PowerShell.
In addition to their professional experience, learners who attend this training should already have experience with MAZ040: Automating Administration with PowerShell, or equivalent PowerShell experience.
You should be confident with most of the following list:
Course syllabus
The course content includes a mix of content, demonstrations, hands-on labs, and reference links.
Module 1: Preparing for Scripting
Overview
This module will introduce learners to the differences between Windows PowerShell 5.1 and PowerShell 7. How to prepare the scripting environment, Coding constraints when writing scripts, and a recap on Variables and Operators, and Scripting Constructs.
Lessons
After completing this module, learners will be able to:
Module 2: From Command to Script to Function to Module
Overview
In this module learners will learn how to create and configure advanced functions and script modules. The primary focus will be on parameterizing advanced functions and controlling the output that they generate, but you will also find out how to convert functions into script modules. Script modules are an effective way to share commands with co-workers and colleagues. With script modules, you can make complex commands available to someone with less technical expertise, and you can more easily reuse the commands.
Lessons
After completing this module, learners will be able to:
Module 3: Writing Commands that use Pipeline Input and Output
Overview
In this module learners will learn how to use advanced Parameter settings to accept Pipeline Input, create custom objects to implement pipeline output, create a custom formatting file for the custom object and create a Module manifest file.
Lessons
After completing this module, learners will be able to:
Module 4: Adding Command Documentation
Overview
In this module learners will learn how to add help documentation to your scripts and functions by using Comments, Verbose comments and custom comment based help into your Scripts\ Functions
Lessons
After completing this module, learners will be able to:
Module 5: Handling Errors
Overview
In this module, learners will learn about the shell’s default error handling behaviour and learn about different mechanisms for detecting and capturing errors that occur while a script or function is running.
Lessons
After completing this module, learners will be able to:
Module 6: Doing More with CmdletBinding
Overview
In this module learners will learn about some of the extra functionality that is provided by using the Cmdletbinding attribute in your scripts and functions, such as implementing support for the Whatif and Confirm Parameters, supporting positional Parameters and Creating and using multiple Parameter sets.
Lessons
After completing this module, learners will be able to:
Module 7: Script Debugging
Overview
In this module, learners will learn how to use native Windows PowerShell features to analyze and debug existing scripts. These skills are also useful when students have to debug their own scripts.
Lessons
After completing this module, learners will be able to:
Module 8: Creating Controller Scripts
Overview
In this module, learners will learn how to combine tools, which are advanced functions that perform a specific task, and a controller script, which provides a user interface or automates a business process.
Lessons
After completing this module, learners will be able to:
Module 9: Proxy functions
Overview
A proxy function acts as a wrapper around an existing function, cmdlet, or other command. In its simplest form, a proxy function passes all parameter input through to the wrapped command. Proxy functions are commonly used to add parameters, remove parameters, or otherwise expand or restrict the underlying command, becoming a useful tool for delegated administration.
Lessons
After completing this lesson, learners will be able to:
Join our public courses in our Istanbul, London and Ankara facilities. Private class trainings will be organized at the location of your preference, according to your schedule.