Monday, June 13, 2011

Home /Active Directory /Group Policy /Microsoft /Windows /Windows 2008 R2 / WMI Object Class and WMI Administrative Tools

WMI Object Class and WMI Administrative Tools

I received a few emails about WMI Object Class after publishing the Group Policy Objects (GPO) and WMI Filter blog (http://portal.sivarajan.com/2011/05/group-policy-objects-gpo-and-wmi-filter.html).  Most of the questions were about how to  identify the WMI Object Class.

WMI Administrative Tools

In my opinion, the WMI Administrative Tools is the best option get these information.  This tool includes:

  1. WMI CIM Studio: view and edit classes, properties, qualifiers, and instances in a CIM repository; run selected methods; generate and compile MOF files.
  2. WMI Object Browser: view objects, edit property values and qualifiers, and run methods.
  3. WMI Event Registration Tool: configure permanent event consumers ,create or view instances of event consumers, filters, bindings, and timer system classes.
  4. WMI Event Viewer: displays events for all instances of registered consumers.

The WMI Object Browser tool gives you the object class information for the WMI filter. 

image

You can download the WMI Administrative Tools from the following location:

http://www.microsoft.com/downloads/en/details.aspx?familyid=6430f853-1120-48db-8cc5-f2abdc3ed314

WMI Code Generator Tool

You can also use WMI Code Generator tool.  The WMI Code Creator tool generates code that uses WMI to obtain management information or perform management tasks. You can use the tool to learn how to manage computers using WMI scripting and WMI .NET. The tool generates code that runs on the local computer, a remote computer, or a group of remote computers based on your selection from the Target Computer menu on the tool.

image

You can download this tool from the following location:

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&displaylang=en

SS

Santhosh Sivarajan

Microsoft MVP · Identity & Cybersecurity Architect

Santhosh has 30+ years of hands-on enterprise experience in Identity and Access Management, Microsoft Entra ID, Active Directory, Microsoft 365 and Zero Trust architecture. He is the author of two books on Windows Server and security, and leads consulting, assessments and training at SAG Business Group.

4 comments:

Amazing screen shorts and helping full articles, please keep updating, have bookmarked!@Sara

When trying to install WMI tools under Windows 7, you need to make sure to run the installer with administrative privileges. Otherwise the installer will try to gain privileges before invoking MSI, but will fail.

Post a Comment

Popular Posts
Workstation Trust Relationship Issue Issue: You receive the following error message, when you try to login to the domain.  The security database on the server does not have ... ADMT Service Account - Permission and Configuration The ADMT service account needs to have proper permission in source and target domains.  You don’t need to use 2 separate accounts.  You can ... My First Peek into Microsoft Exchange 2010 By Santhosh Sivarajan Before I really dive into Exchange 2010, I thought I would install and play with it first. I took some screen shots and notes during the ins... ObjectSID and Active Directory What is an objectSID in Active Directory? When a new object is created in Active Directory, Domain Controller assigns a unique value used ... AD Group Report - List Group Members in Active Directory–PowerShell Script Updated Script - http://portal.sivarajan.com/2011/10/search-ad-collect-local-admin-group.html Script #1 This script... Add Users to a Group–PowerShell Script Purpose – Add users to a group from an input file – PowerShell V2 Script.  Input file – Input file (Users.csv) contains samAccountName in... User Account Migration and Merging – Part I (ADMT) Part I - User Account Migration and Merging Using ADMT Part II - User Account Migration and Merging Using QMM pre-creating user account ... User Account Migration and Merging – Part II (Quest Migration Manager) Part I - User Account Migration and Merging Using ADMT Part II - User Account Migration and Merging Using QMM Pre-creating user account in... Delete Stale or Inactive Computer Accounts from Active Directory Here is an easy way to identify and delete inactive or stale computers in an Active Directory environment.  Using the dsquery command you c... Converting PowerShell (PS1) to EXE / Standalone Application As we know, there many applications available to convert a PowerShell file to a standalone executable file.  Based on my experience, PowerSh...