結果 : check if previous command successful powershell