Creates a WshRemote object.

object.CreateScript(CommandLine,[MachineName])

Parameters

object

WshController Object.

Commandline

Required. String value indicating the script's path and switches as they would be typed at the command prompt. The path to the script should appear as seen from the controller computer system rather than the computer system on which you want to run the script.

MachineName

Optional. String value indicating the name of the remote computer system (the computer on which you want to run the remote script). It is specified in the Uniform Naming Convention (UNC).

Expand imageRemarks

Expand imageExample

Expand imageSee Also