Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Automate administrative tasks by using PowerShell

Microsoft via Microsoft Learn

Overview

  • Module 1: This module introduces PowerShell, a cross-platform command-line shell and scripting language built for task automation and configuration management.
  • After completing this module, you'll be able to:

    • Understand what PowerShell is and what you can use it for.
    • Use commands to automate tasks.
  • Module 2: PowerShell comes with a built-in help system. Use help to read more about a command, what the command does, and how to call it. Also, if you inspect what a command returns, you can use that information to customize the output, determine what commands are logically grouped, and determine how to use the commands together.
  • When you finish this module, you'll be able to:

    • Inspect commands to understand how to call them.
    • Understand what a command returns and customize what it returns.
  • Module 3: In this module, you'll learn how to connect commands into a pipeline.
  • After you complete this module, you'll be able to:

    • Explore cmdlets further and construct a sequence of them in a pipeline.
    • Apply sound principles to your commands by using filtering and formatting.
  • Module 4: In this module, you begin learning the basics of programming by writing and running code in PowerShell.
  • After you've completed this module, you'll be able to:

    • Manage PowerShell inputs and outputs.
    • Diagnose errors when you type code incorrectly.
    • Identify PowerShell elements such as cmdlets, parameters, inputs, and outputs.
  • Module 5: Learn how to script by using PowerShell.
    • Understand how to write and run scripts.
    • Use variables and parameters to make your scripts flexible.
    • Apply flow-control logic to make intelligent decisions.
    • Add robustness to your scripts by adding error management.
  • Module 6: Learn how to install Azure PowerShell on Linux, macOS, or Windows and then connect to Azure and manage your resources.
  • In this module, you will:

    • Decide if Azure PowerShell is the right tool for your Azure administration tasks
    • Install Azure PowerShell on Linux, macOS, and/or Windows
    • Connect to an Azure subscription using Azure PowerShell
    • Create Azure resources using Azure PowerShell

Syllabus

  • Module 1: Introduction to PowerShell
    • Introduction
    • What is PowerShell?
    • Exercise - Run your first PowerShell commands
    • Locate commands
    • Exercise - Locate commands
    • Knowledge check
    • Summary
  • Module 2: Discover commands in PowerShell
    • Introduction
    • Discover a command by using the help system
    • Exercise - Using help
    • Discover objects
    • Exercise - Discover objects
    • Knowledge check
    • Summary
  • Module 3: Connect commands into a pipeline
    • Introduction
    • Selecting data
    • Exercise - Construct a pipeline
    • Use formatting and filtering
    • Exercise - Format your output
    • Knowledge check
    • Summary
  • Module 4: Write your first PowerShell code
    • Introduction
    • Exercise - "Hello World!"
    • How PowerShell code works
    • Challenge
    • Solution
    • Knowledge check
    • Summary
  • Module 5: Introduction to scripting in PowerShell
    • Introduction
    • Introduction to scripting
    • Exercise - Scripting
    • Parameters
    • Exercise - Parameters
    • Flow control
    • Exercise - Flow control
    • Error handling
    • Exercise - Error handling
    • Knowledge check
    • Summary
  • Module 6: Automate Azure tasks using scripts with PowerShell
    • Introduction
    • Decide if Azure PowerShell is right for your tasks
    • Install PowerShell
    • Exercise - Install Azure PowerShell
    • Create an Azure Resource using scripts in Azure PowerShell
    • Exercise - Create an Azure Resource using scripts in Azure PowerShell
    • Create and save scripts in Azure PowerShell
    • Exercise - Create and save scripts in Azure PowerShell
    • Summary

Reviews

3.0 rating, based on 2 Class Central reviews

Start your review of Automate administrative tasks by using PowerShell

  • Useful text-based course to learn PowerShell from the basics.
  • Anonymous
    Very non-interactive. Closes frequently and does not log progress. Someone should re-examine the course to assure it is working properly.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.