WMI Filters to be used in GPO

From Tech-Wiki
Jump to: navigation, search

Back to Active Directory


This example of WMI filters to be used in GPOs to avoid applying to all users:


File presence:

 Select * From CIM_Datafile Where Name = 'C:\\Program Files (x86)\\CheckPoint\\Endpoint Security\\cpda.exe'

OS version (10.% for Win10/11/Server) and 6.2% for Win8:

 select * from Win32_OperatingSystem where Version like "6.%"
 ... where Version like "6.1%" or Version like "6.2%"