First few lines of the link answers that question:
cmd1; if ($?) { cmd2 } = cmd1 && cmd2
cmd1; if (-not $?) { cmd2 } = cmd1 || cmd2
Just your usual Powershell verboseness.
cmd1; if ($?) { cmd2 } = cmd1 && cmd2
cmd1; if (-not $?) { cmd2 } = cmd1 || cmd2
Just your usual Powershell verboseness.