Author : MD TAREQ HASSAN | Updated : 2021/11/30
Array in PowerShell
- An array is a data structure that stores a collection of items
- Array items in PowerShell can be
- Lossely typed: items are same type or different types
- Strongly typed: can contain only values of a particular type
Loosly typed array
Creating and initializing loosely types array
$foo
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_arrays