Work with arrays and hash tables in Windows PowerShell scripts

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

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

Learning objectives

Upon completion of this module, the learner will be able to:

  • Explain the purpose of an array.

  • Work with arrays and their contents.

  • Work with array lists and their contents.

  • Manipulate arrays and array lists.

  • Explain the purpose of a hash table.

  • Work with hash tables and their contents.

  • Manipulate hash tables.

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