Get Array Index Powershell Version Windows