what is an array in powershell?
An array is a number of items arranged in some specified way. Like in other languages we can define variable as array and assign or add items or values in it. In PowerShell defining array is very simple and flexible. You just have items separated by the by the comma. We will see some examples below.