Click or drag to resize

ProcessOperationExecuteProcess Method

Executes a process using WMI. This allows for remote execution with an admin account context.

Namespace:  Xcalibur.WMI.Processes
Assembly:  Xcalibur.WMI (in Xcalibur.WMI.dll) Version: 3.0.0.0 (3.0.1.0)
Syntax
public static string ExecuteProcess(
	ManagementScope ms,
	string exePath,
	bool newWindow = false
)

Parameters

ms
Type: System.ManagementManagementScope
The management scope.
exePath
Type: SystemString
The exe path.
newWindow (Optional)
Type: SystemBoolean
if set to true [new window].

Return Value

Type: String
See Also