SCCM2012R2: Collection query for inactive clients

Create a collection using the following query and you will get all the workstations which are inactive:

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_CH_ClientSummary on SMS_G_System_CH_ClientSummary.ResourceId = SMS_R_System.ResourceId 
WHERE 
   SMS_G_System_CH_ClientSummary.ClientActiveStatus = 0

You can update this collection every day. Click on the “schedule” button to suit your needs.

inactive

 

Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.