Collection with all online clients

CoolSK2 190 Reputation points
2023-03-23T07:24:56.35+00:00

I want to create a collection with all online clients(green checkmark), how to write the WQL query?

Microsoft Configuration Manager
0 comments No comments
{count} votes

Accepted answer
  1. AllenLiu-MSFT 43,951 Reputation points Microsoft Vendor
    2023-03-23T08:36:41.46+00:00

    Hi, @CoolSK2

    Thank you for posting in Microsoft Q&A forum.

    We may use the wmi class called SMS_CollectionMemberClientBaselineStatus which has the client online status information.

    select * from SMS_R_System where SMS_R_System.ResourceId in
    
    (select resourceid from SMS_CollectionMemberClientBaselineStatus where SMS_CollectionMemberClientBaselineStatus.CNIsOnline = 1)
    
    

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.