Tuesday, 15 April 2014

Installing Malware Bytes from Powershell -



Installing Malware Bytes from Powershell -

i'm trying create script install malware bytes through powershell silently. have got far:

$down = new-object system.net.webclient $url = 'http://downloads.malwarebytes.org/file/mbam/mbam-setup-2.0.2.1012.exe'; $file = 'c:\program files\malwaresetup.exe'; $down.downloadfile($url,$file); c:\program files\malwaresetup.exe /install=agent /s;

this downloads , starts install user has @ there end finish off installation (selecting language location etc) there anyway of silently installing software user doesn't have anything?

when run malwaresetup.exe /?, you'll list of accepted command line parameters. can write:

c:\program files\malwaresetup.exe /install=agent /verysilent

for no gui whatsoever, or:

c:\program files\malwaresetup.exe /install=agent /silent /suppressmsgboxes

for unattended gui installation (showing progress bar).

powershell-v2.0

No comments:

Post a Comment