Create Array Using For Loop In Powershell Script Not Running