powershell -File "ScriptwithArguments.ps1" "arg with space". All these commands will be resolved in the PowerShell command execution process. It is actually in line with the above quoted syntax -Command [-args ]. I want to have a powershell script that can look at a text file and pass the results as … Hello guys, I am working with a driver backup program that I need to automate. Running Powershell Powershell Run Exe With Arguments. So I have an EXE that needs some arguments an examble is myexe.exe - hostname testserver. run Calling PowerShell.exe -Command ScriptName and Parameters … powershell.exe -File "C:\example.ps1" arg1 arg2 arg3 # OR … The Verbs property of the … Run