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

Microsoft

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

Microsoft via Microsoft Learn

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
  • Module 1: 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.

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

    • Explain the purpose of variables.
    • Describe the naming rules for using variables.
    • Explain how to assign a value to a variable.
    • Describe variable types.
    • Explain how to assign a variable type.
  • Module 2: This module explains how to use arrays and hash tables in Windows PowerShell scripts.

    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.

Syllabus

  • Module 1: Module 1: Manage variables in Windows PowerShell scripts
    • Introduction
    • Define variables in Windows PowerShell scripts
    • Create variable names in Windows PowerShell scripts
    • Assign values and types to variables in Windows PowerShell scripts
    • Identify the methods and properties of variables in Windows PowerShell scripts
    • Use string variables and methods in Windows PowerShell scripts
    • Use date variables and methods in Windows PowerShell scripts
    • Knowledge check
    • Summary
  • Module 2: Module 2: Work with arrays and hash tables in Windows PowerShell scripts
    • Introduction
    • Define an array in Windows PowerShell scripts
    • Work with array lists in Windows PowerShell scripts
    • Define hash tables in Windows PowerShell Scripts
    • Work with hash tables in Windows PowerShell scripts
    • Knowledge check
    • Summary

Reviews

Start your review of Use variables, arrays, and hash tables in Windows PowerShell scripts

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.