Get Array Index Powershell Script To Set