Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Syntax

$cs.Shell_ExecuteWithTimeout(string command, string arguments = "", bool mustexist = false, int timeout = 30)

Parameters

command

command to execute

arguments

argumtents for the command

mustexist

check if command file exists before excuting (default False)

timeout

seconds to wait for before timing out

Example

$cs.Shell_ExecuteWithTimeout("msiexec","/i `"$Packageroot\kit\GoogleChromeStandaloneEnterprise64.Msi`", $true, 120)

returns result in integer

  • No labels