Quantcast
Channel: Configuration Manager 2012 - Application Management forum
Viewing all articles
Browse latest Browse all 4762

How to query devices by Operating System

$
0
0

 I am trying to build a query in SCCM 2012 R2 to look for devices that is still running Windows XP Professional.  Below is the query statement that I used to ask SCCM to prompt for Operating System entry.  The query ran without prompting and return zero row of data.  Any idea why it does not prompt me to enter Operating System?

Thanks,

Brian.

select distinct SMS_R_System.NetbiosName, 
SMS_R_System.LastLogonUserName, 
SMS_R_System.OperatingSystemNameandVersion, 
SMS_R_System.operatingSystem, 
SMS_R_System.operatingSystemVersion 
from  SMS_R_System 
where SMS_R_System.operatingSystem like ##PRM:SMS_R_System.operatingSystem##


Brian


Viewing all articles
Browse latest Browse all 4762

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>