Hi, i am new to Config Manager so hope you can help. I deleted a Device Collection (All Systems without Agent) and need to redicover and recreate the Collection again. i have a query from the net but doesnt look to work:
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 where Client = 0
How do i rediscover the machines are create the appropiate quety (if the above is not correct).
SCCM 2012 R2
Thanks