Sccm Query System Name Like
I don t have a sccm server at hand to test it by mysqlf.
Sccm query system name like. Select from sms r system inner join sms g system computer system on sms g system computer system resourceid sms r system resourceid where sms g system computer system roles like domain controller. If you want to copy the query statement just change the highlighted red text. We can use underscore as wildcard for one character space and use them along with like statement and apply to fields. I can t find any reference to sccm on the page linked by you though.
However if you now that the first part of the machine name is constant and equals to proserv the following query should work. Select criterion and change where. Sccm cmpivot has been introduced in sccm 1806 and it s making its way to be a pretty useful addition this post lists 55 sccm cmpivot query examples. I thought it might be useful to share out a few of my most commonly used queries.
This query requires that the sccm client is installed and hardware inventory is turned on. Next select add rule query rule. Select from sms r system where name like proservs. Give the query and name and then select edit query statement.
To system resource netbios name. Give the collections and name and limited it to the machine type. Select from sms r system inner join sms g system service on sms g system service resourceid sms r system resourceid where sms g system service name like microsoft exchange transport sql server collections collection of all sql servers 2008. Systems management microsoft system center configuration manager sccm networking microsoft configuration manager client sccm 2007 online training sccm client center i ve been creating collections under my sccm console and successfully have done two queries where the first is based on the computer account object ous.
I think most sccm administrators have a handful of wql queries that they hang onto for frequently used collection queries. 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 system on sms g system system resourceid sms r system.