Top "Wmi" questions

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

Getting Windows serial number (was: Getting MachineGuid from Registry)

I am trying to fetch MachineGuid from the registry, to create some level of binding with the OS for my …

c# windows registry wmi serial-number
How do I enumerate IIS websites using Powershell and find the app pool for each?

I can search for websites using: Get-WmiObject -Namespace "root\WebAdministration" -Class Site -Authentication PacketPrivacy -ComputerName $servers And I can list …

powershell iis wmi
Returning CPU usage in WMI using C#

To return the CPU usage by using WMI, do I return the PercentProcessorTime from Win32_PerfFormattedData_PerfOS_Processor? If not, …

c# wmi
Finding information about all serial devices connected through USB in C#

My project requires detection of a specific device when it is connected to USB. The only way I can identify …

c# .net serial-port wmi
How to call a method with output parameters in PowerShell?

I'm working on a script to get started in PowerShell. I'm trying to convert a working VBScript script that enumerates …

powershell wmi remote-registry
"The RPC server is unavailable" using WMI query

I have a workgroup of web servers running Server 2008 R2 in which I'm trying to manage a script that checks …

c# asp.net wmi rpc wmi-query
Recommended libraries/howtos for using WMI with java?

Hey Folks. I have a reasonably large commercial project (so for-pay licensing is always an option) that is moving into …

windows wmi java
How to export all rows of a WMI query to a file?

Given a query such as SELECT * FROM WIN32_PROCESS Is there a way to interrogate the result object for the …

wmi wmi-query
Changing the physical path of an IIS website on a remote machine via Powershell

I'm currently working on a deployment script that will take my site, export it from svn, remove any testing files …

iis-7 wmi powershell-2.0
Is there a way to query WMI without using PowerShell or CIM Studio?

I'd like to query WMI for WCF service information, but I'd rather not use PowerShell or the CIM Studio. Any …

windows-7 wmi wmi-query