Difference between revisions of "WMI Filters to be used in GPO"

From Tech-Wiki
Jump to: navigation, search
(Created page with "Category:Microsoft '''Back to Active Directory''' This example of WMI filters to be used in GPOs to avoid applying to all users: File pr...")
 
 
Line 8: Line 8:
 
File presence:
 
File presence:
 
   Select * From CIM_Datafile Where Name = 'C:\\Program Files (x86)\\CheckPoint\\Endpoint Security\\cpda.exe'
 
   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%"

Latest revision as of 14:24, 19 January 2023

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%"