Creating Scripts For Powershell Array Index