Syntax
$cs.Shell_Execute(string command, string arguments = "", bool wait = true, int windowstyle = 0, bool mustexist = false, string workingdirectory = "")
Parameters
command
command to execute
...
argumtents for the command - if none enter empty string ''
wait
wait for command to complete (default True)
...
working directory for command (default emtpy)
Example
Code Block | ||
---|---|---|
| ||
$cs.Shell_Execute("msiexec","/i `"$Packageroot\kit\GoogleChromeStandaloneEnterprise64.Msi`" /QN REBOOT=REALLYSUPPRESS ALLUSERS=1") |
...