Get Array Index Powershell Script Parameters