This document contains two SQL queries to retrieve data from SMS_R_System tables for desktop and server devices. The desktop query selects devices running Windows 10, Windows 7, or Windows Vista. The server query selects devices running Windows Server 2003 or Windows Server 2008 editions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
102 views
Query SCCM
This document contains two SQL queries to retrieve data from SMS_R_System tables for desktop and server devices. The desktop query selects devices running Windows 10, Windows 7, or Windows Vista. The server query selects devices running Windows Server 2003 or Windows Server 2008 editions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1
Query Device Collection Desktop :
select * from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion =
"Microsoft Windows NT Workstation 10.0" or SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 6.1" or SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 6.2" or SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Workstation 6.3" or SMS_R_System.OperatingSystemNameandVersion = "Windows 10 Pro 10.0"
Query Device Collection Server :
select * from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Advanced Server 6.1" or SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Server 6.0" or SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Server 6.1" or SMS_R_System.OperatingSystemNameandVersion = "Microsoft Windows NT Server 6.2"