Install exe file using powershell

Since PowerShell is a command line shell there’s not that much difference between PowerShell and CMD for example.

Most installer executables reveal their possible command line arguments when you call them with the option /?.
So if the command line

c:\test\wiztree_4_01_setup.exe /?

reveals that the proper command line arguments for the installer are /install, /quiet and /norestart you can run the installation just like in CMD with

c:\test\wiztree_4_01_setup.exe /install /quiet /norestart
1 Like