Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

https://superuser.com/questions/612409/how-do-i-run-multiple-commands-on-one-line-in-powershell

command1 ; command2 #No Error Checking, runs sequentially

PS >v7: (untested)

&& this will run the second command only if the first one succeeds.
|| this will run the second command only if the first one fails.
  • No labels