Top "Wmi" questions

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

Remote WMI connection

I want to connect to remote PC running Windows 7, from another PC using ManagementScope on a local network. On remote …

c# wmi
Using Powershell to remove non present network adapters

I'm trying to automate via PowerShell a number of time consuming tasks that I have to preform to make a …

powershell registry wmi nic device-manager
Error : System.IO.IOException: the network path was not found

when i am executing following code it results an error please help me to resolve this. class MySample { public static …

c# wmi remote-access registrykey
Detect serial port insertion/removal

I am interfacing with a USB-to-serial port that can be inserted or removed at any time. I've found that I …

.net wmi serial-port
How to check the machine type? laptop or desktop?

How to check current machine type? laptop or desktop ? I got this from http://blog.csdn.net/antimatterworld/archive/2007/11/11/1878710.aspx ,…

c# wmi
MSI Error "The computer must be trusted for delegation" caused by KB2918614

We have an MSI based installer that recently stopped working on a Windows 2008 R2 environment. The installer is copied over …

windows-installer wmi windows-server-2008-r2
how to check service state using vbscript?

Is there anyway to check the status of service using vbscript ? I would like to have a function for each …

service vbscript wmi status wmi-query
WMI to reboot remote machine

I found this code on an old thread to shutdown the local machine: using System.Management; void Shutdown() { ManagementBaseObject mboShutdown = …

c# .net wmi shutdown
Get PC's Monitor Information Using .NET / WMI

Is there anyway using WMI/.Net to grab monitor information such as Manufacturer, Serial Number, Monitor Size etc.? Using a …

c# .net wmi monitor
How Do You Monitor The CPU Utilization of a Process Using PowerShell?

I'm trying to write a PowerShell script to monitor % CPU utilization of a SQL Server process. I'd like to record …

sql-server powershell wmi