|
Welcome to
NetworkCert.NET
WMI Filters WMI Filter Overview WMI Scripting Guide WMI Examples (from course 2279) Targeting based on operating system. In this example, an administrator wants to deploy an enterprise monitoring policy, but wants to target only Windows 2000 Servers and Windows Server 2003 Standard Servers. The administrator can create a WMI filter such as the following: Root\CimV2; Select * from Win32OperatingSystem where Caption = "Microsoft Windows 2000 Advanced Server" OR Caption = "Microsoft Windows Server 2003 Standard Server" Targeting based on hardware inventory. In this example, an administrator wants to distribute a new network connection manager tool. The administrator wants to target only desktops that have modems. Administrators can deploy the package by using the following WMI filter: Root\CimV2; Select * from Win32POTSModem Targeting based on configuration. In this example, an administrator does not want to use Network Monitor on all of the computers that have multicasting turned on. Therefore, the administrator can use the following filter: Select * from Win32NetworkProtocol where SupportsMulticasting = true Targeting based on software inventory. In this example, the administrator wants to use apply a GPO only to computers that have two specific Windows Installer-based applications installed. These applications are identified by the IDs of {5E076CF2-EFED-43A2-A623-13E0D62EC7E0}and {242365CD-80F2-11D2-989A-00C04F7978A9}. The administrator can create the following query: Root\cimv2; SELECT * FROM Win32Product WHERE IdentifyingNumber = "{5E076CF2-EFED-43A2-A623-13E0D62EC7E0}" Root\cimv2; SELECT * FROM Win32_Product WHERE IdentifyingNumber = "{242365CD-80F2-11D2-989A-00C04F7978A9}"
|