SMS WQL for All Clients where Last Status is Time Exceeded

select sys.ResourceID,sys.ResourceType,sys.Name,sys.SMSUniqueIdentifier,sys.ResourceDomainORWorkgroup,sys.Client from SMS_R_System as sys join SMS_ClientAdvertisementStatus as stat on sys.ResourceID=stat.ResourceID
where stat.AdvertisementID='advertisementID' and stat.LastStatusMessageID=10070

10070 is Time Exceeded, replace advertisementID with your advertisement ID.

Comments

Popular posts from this blog

SMS "Program failed (run time exceeded)" 10070

SMS "Waiting for User Condition" 10036

SMS "Waiting for content" 10035