How to Import and Export WMI Filters

How to Import and Export WMI Filters

In this blog post, I’ll show you how to Import and Export WMI filters (Windows Management Instrumentation).

Importing and Exporting WMI filter can be very handy when we have Dev, UAT and a production environment.

Using Import and Export we could easy shift the filters when they are In a working state to a new environment with breaking the filters.

Some WMI filter can be very complex and sophisticated.

WMI

Windows Management Instrumentation (WMI) consists of a set of extensions to the Windows Driver Model that provides an operating system interface through which instrumented components provide information and notification.

WMI is Microsoft’s implementation of the Web-Based Enterprise Management (WBEM) and Common Information Model (CIM) standards from the Distributed Management Task Force (DMTF).

WMI allows scripting languages (such as VBScript or Windows PowerShell) to manage Microsoft Windows personal computers and servers, both locally and remotely.

Microsoft also provides a command-line interface to WMI called Windows Management Instrumentation Command-line (WMIC).

The purpose of WMI is to define a proprietary set of environment-independent specifications which allow management information to be shared between management applications.

Get Started

In my example, I have a window 10 WMI filter that only targets Windows 10 machines and I’m going to export \ import it.

To export the WMI Filter, I’ll click on it in the Group Policy Console -> Right Click and select Export…

How to Import and Export WMI Filters
How to Import and Export WMI Filters

Next, Simply select a location to save it

Now that I have the filter, I’ll copy it to my new environment and this time I will right click on WMI Filters -> Import…

I’ll select it and click OK

How to Import and Export WMI Filters
How to Import and Export WMI Filters

I can also change the name before clicking Import

Next, I’ll see my Imported filter available with all the other filters

Search








Bitnami