powershell try catch continue foreach