powershell script to install msi silently
if you just need to install any software automatically using powershell you can just run the silent moder of the installer from powershell. The poweshell script to run exe or msi in silent mode is:$command = âcmd.exe /c D:\MyInstaller.exe /s /v`â/qnâ.$process = [WMICLASS]â \\PCName\ROOT\CIMV2:win32_process â.$process.Create($command). Remember your installer should have silent mode on in it.he poweshell script to run exe or msi in silent mode is: $command = âcmd.exe /c D:\MyInstaller.exe /s /v`â/qnâ. $process = [WMICLASS]â \\PCName\ROOT\CIMV2:win32_process â. $process.Create($command). Remember your installer should have silent mode on in it.