Syntax
$cs.Shell_ExecuteWithTimeout(string command, string arguments = "", bool mustexist = false, int timeout = 30)
Parameters
command
command to execute
...
Code Block | ||
---|---|---|
| ||
$cs.Shell_ExecuteWithTimeout("msiexec","/i `"$Packageroot\kit\GoogleChromeStandaloneEnterprise64.Msi`", $true, 120) |
returns result in integer