How can I execute two PowerShell commands such that I only send text to the prompt once and the second command executes only after the first command has executed successfully?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
Try this:
This executes command1 and then command2 if Is this what you were looking for? Edit: The links in Bobs comment also deliver detailed solutions to your question. |
|||
|
|