https://msdn.microsoft.com/en-us/library/6sh2ey19
Take a look. There are multiple pre-built methods that come in very handy with Powershell scripts. Some of my favorites are Count(), Contains(T), Reverse(), Sort() and many more.
Leveraging lists is easy once you've defined them in Powershell thusly:
$list = New-Object -TypeName System.Collections.Generic.List[String];
So go ahead and give List a try in your scripts... you'll never use arrays again!
Later
C
C