February 2019
Intermediate to advanced
626 pages
15h 51m
English
An array contains a set of objects of the same type. Each entry in the array is called an element, and each element has an index (position). Indexing in an array starts from 0.
Arrays are an important part of PowerShell. When the return from a command is assigned to a variable, an array will be the result if the command returns more than one object. For example, the following command will yield an array of objects:
$processes = Get-Process
Read now
Unlock full access