Rama devi Rama devi - 1 year ago 188
Powershell Question

How to extract exe file without installing it, using powershell?

I am trying to extract one .exe file without installing it. The way to do in CMD is

C:\Users\ramadeviA\Downloads\Setup.exe /a

But I want to know how to execute this in powershell. Can anybody help me.

I tried this one but it doesn't work for me

$CMDCOMMAND = "C:\Users\ramadeviA\Downloads\Setip.exe /a"
Start-Process $CMDCOMMAND

Answer Source


start_process C:\Users\ramadeviA.WINMAGIC\Downloads\Setip.exe -Argumentlist "/a" that should be it
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download