Get Array Index Powershell Execution