SQL query for SCCM 2007 R2 to find all Dell desktops and laptops

My colleague wrote a SQL query for SCCM 2007 R2 that finds all the Dell desktops and laptops in our environment.


select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System   INNER JOIN SMS_G_System_COMPUTER_SYSTEM   ON SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId  WHERE SMS_R_System.NetbiosName NOT LIKE "SR%"   AND SMS_R_System.Active = 1  AND SMS_G_System_COMPUTER_SYSTEM.Manufacturer00 like "%Dell%"

Comments

Popular posts from this blog

"The SNMP Service is ignoring the manager because its name could not be resolved." in Windows Server Event log.

Server Manager will not start, error .NET Framework: "This application requires one of the following versions of the .NET Framework:"