Do you use PowerShell to run batch files in Visual Studio?

Updated by Brady Stroud [SSW] 1 year ago. See history

123
No component provided for introEmbed

❌ Figure: ![Bad example - Using Windows Command Processor (cmd.exe) for running batch files.](/uploads/rules/do-you-use-powershell-to-run-batch-files-in-visual-studio/BadBatch_small.jpg)

✅ Figure: ![Good example - Using PowerShell for running batch files](/uploads/rules/do-you-use-powershell-to-run-batch-files-in-visual-studio/goodbatch_small.jpg)

Acknowledgements

Adam Cogan
Ryan Tee
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star