back again with another question.
I want to remotely create and run a process on that remote computer using WMI. I am having problems but getting closer I believe
Error when trying to invoke method:
"Operation is not valid due to the current state of the object"
any ideas?Code:ManagementPath thePath = new ManagementPath("\\\\server\\root\\cimv2"); ManagementClass theClass = new ManagementClass(thePath); theClass.InvokeMethod("Create", new object[] { "Calc.exe" });





any chance of a regain? 
Reply With Quote