SCCM – SQL Query for newly discovered devices in last 24 hours
This query for SCCM will tell you the devices that have been discovered by Configuration Manager in the last 24 hours.
This query can be amended to change the amount of days you wish to look back at for newly discovered devices by changing the last digit in the code.
These may also help you...
- How to Mass Unfollow on Instagram Online
- Windows Server 2008 R2 Evaluation Product Keys
- How to Mass Unfollow Everyone on Twitter
select SMS_R_System.Name, SMS_R_System.CreationDate FROM SMS_R_System WHERE DateDiff(dd,SMS_R_System.CreationDate, GetDate ()) <= 1
If you have any questions or feedback about this post, or if you would like us to create any queries for you, please go ahead and leave us a message below in the comments section and we will get back to you as quick as we can.