I\'m trying to execute a WMI function using the PowerShell class from a managed C++ function. But I can\'t work out how to call a method on the object that is returned in the PSObject list from the P
I\'m creating an Hyper-V snapshot with a C# program: private static bool Snapshot(string vmName, string snapshotName)
I have been trying to utilize WMI for my code, I cannot use the System.Management classes as they are not there开发者_如何学Go. I have tried it on 3.5 and 4 Net. Nothing works.
Is it poss开发者_如何学Cible to read registry key of a remote machine which belongs to a different domain using WMI calls?Yes it\'s possible, only you must ensure to set the credentials of the connect
I\'m trying to retrieve the amount of memory used by a windows service, for example, IIS. I\'m us开发者_开发技巧ing python and windows wmi extensions. I didn\'t find any method on WIN32_Service class
I want to access WMI using the AutomationFactory in a Silverlight OOB application. dynamic locator = AutomationFactory.CreateObject(\"WbemScripting.SWbemLocator\");
How would i detect in my application, when a new event is logged in the windows event log. Currently i\'m running a timer ever 5 minutes to check for new events but it would be much better if i can de
I want to write a class with similar funcionality as the .NET ManagementPath class. On MSDN is a set of articles which handles the format of object paths. However, I don\'t understand it yet with all
Please any one help meto get all network printers. I get all printers installed in the local machine using \"System.Drawing.Printing.PrinterSettings.InstalledPrinters\".
I am trying to connect to Windows WMI through service by filling the ManagementScope variables and trying to connect to remote machine. The Connect is succeeding if I am running as windows console, bu