SCCM 2012 Query for ConfigMgr clients not upgraded to CM2012 (v5)
This is a query for ConfigMgr 2012 and it will return the machines that do not have the 2012 client installed on them. This is useful if you have gone through an upgrade from 2007 to 2012 and need to know if or where machines have not fully upgraded themselves so that you can take remedial action on them.

This query will return the following information:
 SELECT  
      Name,  
      ClientVersion,  
      ResourceDomainORWorkgroup,  
      LastLogonUserDomain,  
      LastLogonUserName,  
      ADSiteName,  
      IPAddresses  
 FROM  
   SMS_R_System  
      where Client = 1 and ClientVersion < '5.00' and ClientType != 3  

If you have any problems which this query, please leave a comment below and we will help you when we can.

Labels: , ,