Pull the SCCM Servers list from SCCM Central Database or refer the SCCM Design documents to get the Site servers list.
Select Device Collections -> Right Click -> Folder -> Create Folder -> Click.
Create a new folder name as SCCM Client Health Collections.
Create a new Collection under SCCM Client Health Collections Folder.
Create a new Collection name as All Obsolete Clients and limiting that collection to All Systems then click Next.
** Recommended to limit All Systems Collection **
Click Add Rule then Select Query Rule.
Type Query Rule Name as All Obsolete Clients then Click Edit Query Statements.
Place the below WQL Query inside the textbox and click OK. Ensure there is no Human error while placing the WQL Query.
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 SMS_R_System.Obsolete = 1
Ensure that All Obsolete Query Rule is added and change the Schedule full update on these collection settings as “Occurs every 1 day…” then click Next.
Select the All Obsolete Clients Collection -> Right Click -> Select -> Show Members.
Select all Obsolete Clients -> Right Click -> Select -> Delete.
** Before deleting Obsolete clients, Ensure all objects are showing as Obsolete status is Yes **
delete computer from sccm 2012
Hope this will be helpful.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.