Use variables, arrays, and hash tables in Windows PowerShell scripts

Intermediate
Administrator
Azure
Microsoft Entra ID
Azure Cloud Shell
Azure PowerShell
Azure Virtual Machines
Microsoft 365

This learning path explains how to work with variables, arrays, and hash tables in Windows PowerShell scripts.

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

Modules in this learning path

This module explains how to create variables, name them correctly, and assign the correct data type, while ensuring the data you store in variables is in the correct format and easily accessible.

This module explains how to use arrays and hash tables in Windows PowerShell scripts.