Top "Wmi" questions

Windows Management Instrumentation (WMI) is an API for managing the Windows operating system on local or remote computers.

WMI: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) throws when try to connect to remote machine

I'm using the following code to connect to remote machine using WMI: ConnectionOptions connOptions = new ConnectionOptions(); connOptions.Impersonation = ImpersonationLevel.Impersonate; …

c# .net wmi
How to restart service remotely?

I can start or stop service remotely from .net project. ConnectionOptions options = new ConnectionOptions(); options.Username = @"192.168.36.22\test"; options.Password = "test"; …

c# service wmi arcgis wmi-service
Detecting the number of processors

How do you detect the number of physical processors/cores in .net?

.net wmi cpu environment
How do you query for WMI namespaces?

How do you query for WMI namespaces? So I know about WMI namespaces because I read that they exits and …

wmi wmi-query
Batch WMIC redirecting output and wrapping into variable

I'm trying to use WMIC to remove some old printers on our older print servers if I use the below …

batch-file wmi wmi-query wmic
how to cleanup view model properly?

I have a view model that is used as the data source for my custom control. In the view model's …

wpf mvvm wmi
Get the Cpu usage of each process from wmi

I found many sources to get the cpu usage of each process. in general there are many ways to get …

c# wmi performancecounter win32-process
DLL error importing win32api on windows 10

I have python 2.7.2 on windows 10. When I load win32api and wmi it fails to load. The python install on …

python python-2.7 wmi windows-10
Which approach is better to read Windows Event log in C#? WMI or EventLog

I need to write an application to grab event log for System/Applications. The other requirement is that I need …

c# windows wmi logging event-log
WMI: Get USB device description on insertion

How can I get a device Id and other description on insertion of USB device? I've found an example how …

c# .net wmi insertion usb