Create and modify scripts by using Windows PowerShell

Intermediate
Administrator
Azure
Microsoft Entra ID
Azure Cloud Services
Azure PowerShell
Azure Storage
Azure Virtual Machines
Microsoft 365

This learning path explains how to create and modify scripts. It covers useful scripting techniques that include importing data from a file, accepting user input, and error handling.

Prerequisites

  • Familiarity with Windows networking technologies and implementation
  • Familiarity with Windows Server administration, maintenance, and troubleshooting
  • Familiarity with Windows PowerShell and its commands to perform specific tasks
  • Familiarity with PowerShell cmdlets used for system administration tasks related to Active Directory, network configuration, server administration, and Windows 10 device administration
  • Familiarity with Windows PowerShell pipeline, PowerShell providers, and PowerShell drives
  • Familiarity with CIM and WMI technologies
  • Familiarity to use variables, arrays, and hash tables in Windows PowerShell

Modules in this learning path

This module explains how to create and run scripts.

This module explains how to use scripting constructs for iteration and decision making in Windows PowerShell.

This module explains how to import data from a text file, CSV file, XML file, and JavaScript Object Notation (JSON) file.

This method explains multiple methods for accepting user input in a Windows PowerShell script.

This module covers troubleshooting PowerShell scripts and understanding error messages.

This module covers how to create modules and functions in Windows PowerShell scripts.