Is there an equivalent in PowerShell of this command construct from sh (and its derivatives):
$ cmd1 && cmd2
where cmd2 only starts when cmd1 terminates?
I know that you can combine commands with a semicolon. However, this does not take into account the exit status of the commands.
source share