KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Does PowerShell have an equivalent to this command construct from sh (and derivatives): $ cmd1 && cmd2 where cmd2 is only run when cmd1 exits sucessfully? I know you can combine commands with a semicolon. However, this disregards the exit status of commands.
Tags (comma-separated)
Save Edits
Cancel