Summary

55318 Advanced Automated Administration with Windows PowerShell

This three-day course teaches students how to automate administrative tasks using PowerShell. Students will learn crucial scripting skills such as creating advanced functions, writing controller scripts, and handling script errors. Candidates will learn how to use PowerShell when working with Microsoft Azure, SQL Server, Active Directory, IIS, Windows PowerShell Workflow, .NET resources, the REST API and XML, CSV & JSON formatted data files.

Introduction

Who Should Attend
This course is intended for IT professionals who are experienced in general Windows Server and Windows Client administration. Students should have a foundational knowledge of Windows PowerShell, which they can obtain by taking course AZ-040T00: Automating Administration with Windows PowerShell. In addition, this course provides scripting guidance for Microsoft Azure administrators and developers who support development environments and deployment processes.

Course Objectives
After completing this course, students will be able to:
– Create advanced functions
– Use Microsoft .NET Framework and REST API in Windows PowerShell
– Handle script errors
– Use XML, JSON, and custom formatted data
– Manage Microsoft Azure resources
– Analyze and debug scripts
– Understand Windows PowerShell workflow

Prerequisites
There are no prerequisites for this course.

Outline

  • CREATING ADVANCED FUNCTIONS

    • Converting a command into an advanced function
    • Creating a script module
    • Defining parameter attributes and input validation
    • Writing functions that accept pipeline input
    • Producing complex pipeline output
    • Using comment-based Help
    • Using Whatif and Confirm parameters
  • USING MICROSOFT .NET FRAMEWORK AND REST API IN WINDOWS POWERSHELL

    • Using .NET Framework in PowerShell
    • Using REST API in PowerShell
  • WRITING CONTROLLER SCRIPTS

    • Understanding controller scripts
    • Writing controller scripts with a user interface
    • Writing controller scripts that create reports
  • HANDLING SCRIPT ERRORS

    • Understanding error handling
    • Handling errors in a script
  • USING XML, JSON, AND CUSTOM-FORMATTED DATA

    • Working with XML formatted data
    • Working with JSON formatted data
    • Working with custom-formatted data
  • ENHANCING SERVER MANAGEMENT WITH DESIRED STATE CONFIGURATION AND JUST ENOUGH ADMINISTRATION

    • Implementing Desired State Configuration
    • Implementing Just Enough Administration
  • ANALYZING AND DEBUGGING SCRIPTS

    • Debugging in Windows PowerShell
    • Analyzing and debugging an existing script
  • UNDERSTANDING WINDOWS POWERSHELL WORKFLOW

    • Understanding Windows PowerShell Workflows
    • Running Windows PowerShell Workflows

Course Schedule

*Indicates a course that spans over multiple days.

**Indicates a course that is only a half day.