Angular Add To Array Powershell If Statement