Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Query installing EXE using Powershell

$
0
0

Hi, 

I have a requirement where I need  to install " AdaptiveLogExporter_Setup.exe " and configure the same. But I was just trying to do a silent installation of the software and I used below script.

Can anyone help me with below script.

$setup=Start-Process "\\sc0spf\setup\AdaptiveLogExporter_Setup.exe" -ArgumentList "/s" -Wait

if ($setup.exitcode -eq 0) {

write-host "Successfully installed"

}


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>