WMI
How to invoke method on PSObject from managed C++
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[详细]
2023-04-10 15:26 分类:问答Setting Hyper-V snapshot's name programmatically
I\'m creating an Hyper-V snapshot with a C# program: private static bool Snapshot(string vmName, string snapshotName)[详细]
2023-04-10 00:41 分类:问答C# System.Management has only 1 class?
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.[详细]
2023-04-09 15:49 分类:问答WMI call to a different domain
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[详细]
2023-04-09 10:46 分类:问答get windows service used memory using wmi
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[详细]
2023-04-09 07:07 分类:问答VBScript error handling in C#
I want to access WMI using the AutomationFactory in a Silverlight OOB application. dynamic locator = AutomationFactory.CreateObject(\"WbemScripting.SWbemLocator\");[详细]
2023-04-09 04:41 分类:问答Detect when a new event is logged in Windows
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[详细]
2023-04-09 03:49 分类:问答Understanding the WMI object path format
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[详细]
2023-04-08 21:00 分类:问答How to get all network printers in asp.net 4.0
Please any one help meto get all network printers. I get all printers installed in the local machine using \"System.Drawing.Printing.PrinterSettings.InstalledPrinters\".[详细]
2023-04-08 18:52 分类:问答ManagementScope.Connect failing with error E_ACCESSDENIED error while being run from Windows Service
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[详细]
2023-04-08 03:56 分类:问答