Last time a system was rebooted
Is it possible to make a collection of computers that havent rebooted in 30 days so I can create a task that will reboot the systems in that collection?
February 9th, 2010 4:23pm

Yup, anything is possible :)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_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_OPERATING_SYSTEM.LastBootUpTime < DateAdd(dd,-30,GetDate())See if that works for you...http://www.sccm-tools.com http://sms-hints-tricks.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
February 9th, 2010 4:41pm

I think it did....will check a couple of the systems...thank you SO SO much for your help with this!
February 9th, 2010 4:43pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics