Rama devi Rama devi - 2 months ago 17x
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



start_process C:\Users\ramadeviA.WINMAGIC\Downloads\Setip.exe -Argumentlist "/a" that should be it