Application installation via Powershell
hi
i want install app on d drive of of our servers.
the app in folder named appfiles, , setup.exe
during install, user prompted 4 times:
1. confirm installation (press yes)
2. enter name of server (server1, server2 etc, can taken central text file)
3. enter name of ad domain (domain.co.uk)
4. enter name of db server (db1.domain.co.uk)
at moment, running these manually, there anyway automate using powershell? os windows 2008 server
hi,
to install software automatically using powershell can run silent mode of installer powershell. poweshell script 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 installer should have silent mode on in it.
similar thread you:
install application through powershell
installing executable through powershell
regards,
yan li
yan li
technet community support
Windows Server > Windows PowerShell
Comments
Post a Comment