Bash Initialize Array Variable In Powershell If Statement