Get Array Index Powershell Script Run