Forums on Intune, SCCM, and Windows 11

Welcome to the forums. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your topics and posts, as well as connect with other members through your own private inbox!

SOLVED SCCM Query statement to add devices automatically

Status
Not open for further replies.

syed sameer

Well-Known Member
Messages
144
Reaction score
2
Points
18
Hi Prajwal

I tried to add Query statement to add Client machines automatically to my specified device collection

I use your Query from your blog but nothing has changed after I apply the setting I removed sccm client

from client and tested but device collection not updates , see the screen shot this is i'm using manual adding

but I don't want to use it I want always Windows 7 32 bit machines should come to device collection
without I add, how to do ? kindly advise or sent me Query I tried the one which you posted on your blog but
could not success
 

Attachments

  • Query statement.png
    Query statement.png
    148.9 KB · Views: 17
yes right, and all windows 7 32 bit PC's should automatically come to device collection, I should not need to add manually
 
No I have different collection for 64 bit

But now clients adding automatically to the collection

It's resolved

Thanks
 
okay so just to cross check you used the same query that I posted on my website ?. Can you post the query here ? It will help other people as well.
 
hi prajwal

here is the Query statement for Win 7 machines , once I added the below Query all clients added automatically

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 where SMS_R_System.OperatingSystemNameandVersion like "%Workstation 6.1%"
 
Status
Not open for further replies.

Forum statistics

Threads
7,026
Messages
27,491
Members
17,677
Latest member
Nairolf

Trending content

Back
Top