Implementing MI Provider (4) – Generate Code (continute)
As described in Implementing MI Provider (3), Convert-MofToProvider.exe tool generates a set of code files, including schema.c, module.c, WMIAdapter.c, Provider.DEF, <class name>.h, and <class...
View ArticleImplementing MI Provider (5) – Implement
As discussed in Implementing MI Provider (4) – Generate Code (continute), Convert-MofToProvider.exe tool generates <class name>.c file for each target class, which contains stub functions to...
View ArticleImplementing MI Provider (6) – Build, Register, and Debug
This blog discusses how to build, register and debug MI provider. Build To build MI provider, open visual studio 2012, create an empty Visual C++ project named “process”, set type to DLL, and add all...
View ArticlePerforming Management tasks using Cimcmdlets – Processes
WMI provides a standardized system management infrastructure that can be leveraged by a number of different clients. WMI providers and the classes exposed by the providers help in various management...
View ArticlePerforming Management tasks using Cimcmdlets [2] – Computer Hardware
As part of this blog series we are sharing PowerShell snippets for a few Computer Management tasks. In this post we will be going over the samples for Computer Hardware management. The Visual Basic...
View ArticlePerforming Management tasks using Cimcmdlets [3] – Operating System
As a part of the ongoing blog series “Performing Management tasks using Cimcmdlets” we are sharing PowerShell snippets for a few Computer Management tasks. In this post we will be going over the PS...
View ArticlePerforming management tasks using CIM Cmdlets [4] – Files and Folders
As a part of the ongoing blog series Performing Management tasks using CIM Cmdlets we are sharing PowerShell snippets for a few computer management tasks. In this post, we will be going over the...
View ArticleEnumerating and getting WMI provider class instances with performance in mind
Performance of CIM_DataFile and Win32_Directory enumeration depends on the number of files or directories that are being enumerated, and, hence, can be very slow and can take hours. In following...
View ArticleWS-Man (Web Services for Management) 1.2 Published
The DMTF recently published the Web Services for Management (WS-Man) standard version 1.2. This release of the WS-Man specification clarifies support for the latest encryption protocols, which has been...
View ArticleMove to PowerShell for WinRM Management
As most people are aware, PowerShell provides two ways of managing the Windows Remote Management (WinRM) infrastructure: the WSMan Provider and the WS-Management Cmdlets. (As you are no doubt aware,...
View Article