Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade
System Center Configuration Manager (SCCM) is a powerful tool used by IT administrators to manage large groups of computers running various operating systems. One of its features is the ability to create query collections, which are groups of devices or users that meet specific criteria. In this article, we will focus on creating a query collection for computers that have not updated their hardware information for the past 30 days. This is particularly useful for monitoring and ensuring that hardware inventory is up-to-date, which is critical for asset management and planning.
Examples:
Opening the SCCM Console: Open the SCCM console and navigate to the “Assets and Compliance” workspace.
Creating a New Device Collection:
Defining the Query Rule:
Building the Query:
In the “Select Attribute” dialog, choose the following:
System Resource
Last Hardware Scan
Click “OK”.
Back in the “Criterion Properties” dialog, set the condition to “is less than” and provide the value as 30 days ago from today’s date. You can use the following SQL-like statement for this:
select * from SMS_R_System where DateDiff(day, SMS_R_System.LastHardwareScan, GetDate()) > 30
Click “OK” to close the “Criterion Properties” dialog.
Completing the Query:
Verifying the Collection: