Get Array Index Powershell Script To Send