Hello.
Please help me with this code.
I don't understand how I can get this to work!!!
Code:Dim co As ConnectionOptions = New ConnectionOptions() co.Username = "username" co.Password = "password" Dim mp As ManagementPath = New ManagementPath("\\targetMachine\root\cimv2:Win32_process") Dim mc As ManagementClass = New ManagementClass(mp, co) mc.InvokeMethod("Create", New Object() {"calc.exe"})




Reply With Quote