C# Corner

  About WMI.

WMI stand for ( Windows Management instrumentation ) and it is a set of tools and extensions within the Windows driver model which enables scripting languages which is further use to manage PC and servers connected remotely or locally form. WMI provides the functionality to manage distributed enterprise systems for servers and workstations which is run by the Windows Operating System and automatically system management tasks .The WMI database is an infrastructure management framework which enables data and computing operations management. It is database scripts and applications which is not only designed for systematize administrative tasks and also not remotely connected computers. WMI is used for makes to retrieval system information by using using well documented object models, and queries that resemble those used with SQL ,But with fewer and more easily readable software codes.

Related resources for WMI.
  • SQL Server Monitoring Disk Space With WMI And OLE Automation Objects12/23/2016 3:31:29 PM. This blog talks about various SQL methods to fetch disk usage details and the use of T-SQL in conjunction with invoking OLE automation procedures and WMI class libraries, using the SQL Windows Shell i
  • Sharepoint 2016 With MIM 2016 - Get-WmiObject - Generic Failure12/1/2016 2:23:33 PM. This blog is about the MIM error.
  • Getting detailed Information about Windows User Accounts with WMI and C#4/13/2016 3:11:47 AM. Article about how to get detailed information about windows users through WMI.
  • Windows Management Instrumentation (WMI)4/13/2016 3:08:31 AM. In this article we are going to write a windows forms application that helps us to retrieve a list of services on a remote computer and operate on them(start/stop).
  • How System Resource Information is Retrieved From WMI10/14/2013 5:16:33 PM. In this article we learn how to retrieve system resource information using the ManagementObjectSearcher class.
  • Get the Registry Details of Your System Using WMI Class9/23/2013 1:41:10 PM. This article describes how to get the Registry details of your System Using a WMI Class. Here I will get the information from the Win32_Registry class.
  • Get the Time and Date Details of Your System Using WMI Class9/18/2013 3:21:24 PM. This article describes how to get the Time and Date details of your System Using a WMI Class. Here I will get the information from the Win32_CurrentTime class.
  • How to Get External Drives and Peripherals Using WMI Query8/26/2013 6:03:29 AM. We are will develop an application showing your hard disk background details or any external drives/peripherals using a WMI Query.
  • Get the Keyboard Details of Your System in Windows Form8/23/2013 1:30:37 PM. This article describes how to get the Keyboard details of your System . Here I will get the information from the Win32_Keyboard class.
  • Administration of Windows Machine Programmatically4/3/2013 7:15:28 PM. Being a .Net developer, Automation engineer or IT administrator we always in need of dealing with windows machine configuration and settings.
  • Interrogating your Printer Queries with WMI11/8/2012 9:53:50 AM. In response to a newsgroup query here is the code needed to view the printer queues on your system. Once again this is achieved using Windows Management Instrumentation or WMI. Note this code will display all printer queues if there are documents waiting to be printed. To test this open up a printer queue and pause the printer then use notepad or word etc and print to the paused printer.
  • Monitoring Remote Log Remotely using WMI in C# and .NET10/3/2012 12:26:22 PM. WMI (Windows Management Instrumentation) is a component of the Microsoft operating system that allows you to monitor virtually every piece of the system (either locally or remotely) as well as control the windows operating system.
  • Windows Management Instrumentation (WMI)9/30/2012 5:07:26 AM. WMI is a component of the Microsoft operating system that allows you to monitor virtually every piece of the system either locally or remotely.
  • In-depth Look at WMI and Instrumentation: Part I9/30/2012 4:16:45 AM. WMI provides a consistent programmatic access to management information in the enterprise. It uses the typical provider and consumer concept where you have on one side components providing this management information while on the other side management applications can subscribe and consume it.
  • Obtain System Information using WMI Calls5/15/2012 1:56:36 PM. This article shall describe an approach to using Windows Management Instrumentation (WMI) calls to obtain system information.
  • Interrogating your Printer Queries with WMI4/23/2012 7:08:29 AM. In response to a newsgroup query here is the code needed to view the printer queues on your system. Once again this is achieved using Windows Management Instrumentation or WMI. Note this code will display all printer queues if there are documents waiting to be printed. To test this open up a printer queue and pause the printer then use notepad or word etc and print to the paused printer.
  • Windows Management Instrumentation in VB.NET9/29/2010 5:50:18 AM. In this article I will explain you about Windows Management Instrumentation in VB.NET.
  • Get Property and Method Name of WMI Classes Programmatically in C#9/3/2010 1:51:21 PM. This article shows how you can get property name and method name programmatically instead of writing explicitly.
  • Get classpath of WMI class in c#9/3/2010 1:14:47 PM. here i will show how you can get the classpath of wmi class in c#
  • Get MAC Address of Network Card using WMI and C#8/11/2010 11:08:02 AM. Get MAC Address of Network Cards using WMI and C#
  • Get Laptop Battery Status using C# and WMI8/8/2010 12:51:48 PM. Article about how to get status of laptop battery
  • Getting CD/DVD Drive capabilities using WMI and C#8/4/2010 11:16:00 PM. article about how to Get Different capabilities of CD_Drive like read/write using WMI
  • Microsoft Loopback Adapter - programmatically installation and configuration.3/29/2010 1:43:43 AM. This article will show how to programmatically install, configure and manage virtual network adapters such as Microsoft Loopback Adapter using Devcon tool, WMI and netsh command.
  • Windows Management Instrumentation in C# 3/14/2010 11:56:36 PM. In this article I will explain you about Windows Management Instrumentation in C#.
  • Retrieving Motherboard Serial Number via WMI10/23/2009 1:14:42 PM. Learn how to retrieve Motherboard serial number and other related information via Windows Management Instrumentation (WMI) in .NET.
  • Retrieving Motherboard Serial Number via WMI10/23/2009 1:14:42 PM. Learn how to retrieve Motherboard serial number and other related information via Windows Management Instrumentation (WMI) in .NET.
  • Listing all Computers in Active Directory 4/12/2007 3:24:08 AM. This application does one simple task. On any network where Microsoft Active Directory is used it will list all computers on the network. I faced this problem when I wanted to document all of the computers on the network using WMI.
  • Listing all Computers in Active Directory 4/12/2007 3:24:08 AM. This application does one simple task. On any network where Microsoft Active Directory is used it will list all computers on the network. I faced this problem when I wanted to document all of the computers on the network using WMI.
  • A Simple Guide to WMI Provider3/16/2007 4:21:47 AM. This article purpose is to describe how to develop a WMI provider in the .NET framework. There are several incentives for writing this article including the lack of simple examples for writing WMI provider in C#.
  • A Simple Guide to WMI Provider3/16/2007 4:21:47 AM. This article purpose is to describe how to develop a WMI provider in the .NET framework. There are several incentives for writing this article including the lack of simple examples for writing WMI provider in C#.
  • Service Management in C#.NET1/29/2007 5:30:10 AM. This article discusses how to create a Web Application to manage the services running on our system.
  • Enterprise Library Caching Application Block in VB.Net1/22/2007 1:08:28 AM. Microsoft patterns & practices provide scenario-specific recommendations illustrating how to design, develop, deploy, and operate architecturally sound applications for the Microsoft .NET platform. The following article covers details on the Caching Application Block.
  • Enterprise Library Caching Application Block in VB.Net1/22/2007 1:08:28 AM. Microsoft patterns & practices provide scenario-specific recommendations illustrating how to design, develop, deploy, and operate architecturally sound applications for the Microsoft .NET platform. The following article covers details on the Caching Application Block.
  • Service Management in VB.NET12/28/2006 3:41:52 AM. This article discusses how to create a Web Application to manage the services running on our system.
  • Service Management in VB.NET12/28/2006 3:41:52 AM. This article discusses how to create a Web Application to manage the services running on our system.
  • A Simple Guide to WMI Provider2/2/2006 11:20:30 PM. This article purpose is to describe how to develop a WMI provider in the .NET framework. There are several incentives for writing this article including the lack of simple examples for writing WMI provider in C#.
  • Windows Management Instrumentation (WMI)2/2/2006 2:26:12 AM. WMI is a component of the Microsoft operating system that allows you to monitor virtually every piece of the system either locally or remotely.
  • An In-depth Look at WMI and Instrumentation: Part I2/2/2006 1:31:43 AM. WMI provides a consistent programmatic access to management information in the enterprise. It uses the typical provider and consumer concept where you have on one side components providing this management information while on the other side management applications can subscribe and consume it.
  • An in-depth look at WMI and Instrumentation: Part II2/2/2006 1:15:31 AM. In this second part of the series, you will learn how to work with WMI classes and class instances, and then demonstrates the wealth of information available through the Win32 and IIS WMI providers.
  • An in-depth look at WMI and Instrumentation: Part II2/2/2006 1:07:24 AM. In this second part of the series, you will learn how to work with WMI classes and class instances, and then demonstrates the wealth of information available through the Win32 and IIS WMI providers.
  • Rebooting a Remote Server using WMI1/6/2006 12:02:58 AM. Windows Management Instrumentation or WMI holds many surprises and features but when my colleagues machine rebooted even I was surprised.
  • Interrogating Your Printer Queues with WMI1/4/2006 6:35:23 AM. In response to a newsgroup query here is the code needed to view the printer queues on your system.
  • Interrogating Systems with WMI12/27/2005 1:22:13 AM. WMI allows you to retrieve information such as hardware types, software installed and much much more.
  • Rebooting a Remote Server using WMI12/27/2005 1:13:32 AM. Windows Management Instrumentation or WMI holds many surprises and features but when my colleagues machine rebooted even I was surprised.
  • Interrogating System with WMI - Part 212/27/2005 1:01:39 AM. After my last article on WMI it was time to get serious. WMI or Windows Management Instrumentation is useful on a local machine to produce a WINMSD type program but using it across a network makes it even more useful.
  • Listing all Computer in Active Directory12/17/2005 5:29:23 AM. This application does one simple task. On any network where Microsoft Active Directory is used it will list all computers on the network. I faced this problem when I wanted to document all of the computers on the network using WMI .
  • Introduction to System.Management Namespace7/21/2005 3:18:51 AM. The article provides an insight on the use of System.Management namespace and the advantages of WMI.