If I'm running a file, example.exe, that takes arguments in cmd:

example.exe /argA=true /argB="string" /argC=confirm

can I do the same in powershell with

example.exe -argA true -argB "string" -argC confirm

If you can translate cmd patterns to powershell patterns, is there any guide to how cmd syntax translates into powershell syntax?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.