Categories
Mastering Development

Running a Batch fille with — Parameters via Powershell

Screenshot Shortcut Properties
I’m trying to run a batch file. Via explorer this batch file is run with the following arguments:

"C:\Appz\PR Tech\Program.bat" --appId primeVisitKiosk --user onthaal

How do I translate this to PowerShell with start-process?

Leave a Reply

Your email address will not be published. Required fields are marked *