Index Need Array Variable In Powershell Script Not Running