Bash Script Array Variable In Powershell If Statement