Am hoping someone can help me out with this query. The query below pulls all the PCs that do not have the SCCM Client installed. Our discovery is based on the AD. The problem is we have all sorts of OS in our environment.
How can I pull only Windows XP, Vista and 7 and exclude OSX, Linux and Server OS.
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 or Client is NULL)
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hi
Am hoping someone can help me out with this query. The query below pulls all the PCs that do not have the SCCM Client installed. Our discovery is based on the AD. The problem is we have all sorts of OS in our environment.
How can I pull only Windows XP, Vista and 7 and exclude OSX, Linux and Server OS.
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 or Client is NULL)
Thanks
Share this post
Link to post
Share on other sites