VmRunWrapperProcessRunScriptAsync Method

Asynchronously runs a script in the guest operating system of the specified virtual machine.

Definition

Namespace: DevCase.ThirdParty.VMware
Assembly: DevCase.net48.ThirdParty.VMware (in DevCase.net48.ThirdParty.VMware.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public Task<string> ProcessRunScriptAsync(
	VMWareVirtualMachine vm,
	string interpreterPath,
	VmRunProgramFlags flags,
	string scriptContent
)

Parameters

vm  VMWareVirtualMachine
The VMWare virtual machine.
interpreterPath  String
The full path to the interpreter executable file in the guest operating system. (eg. "C:\Windows\System32\cscript.exe")
flags  VmRunProgramFlags
Flags that determine the runtime behavior. You can combine the flags.
scriptContent  String
The text content of the script to run.

Return Value

TaskString

[Missing <returns> documentation for "M:DevCase.ThirdParty.VMware.VmRunWrapper.ProcessRunScriptAsync(DevCase.ThirdParty.VMware.VMWareVirtualMachine,System.String,DevCase.ThirdParty.VMware.VmRunProgramFlags,System.String)"]

Remarks

Note: Some functionalities of this assembly may require to install one or all of the listed applications:

VMware Workstation Player / VMware Workstation Pro (vmrun.exe)

See Also