SCCM 2012 - Import list of PC's into Device Collection

hi experts,
I have about 100 machines already registered in SCCM 2012, that I need to import into a specific device collection group, doing this via Direct Query is painful, is there perhaps another means of doing this, IE: via some powershell script or SCCM-Add on that will simplify this task, we've recently stood up our SCCM environment, so going forward, I will have to create several more of these device collections, so nutting out a proper means to do this now, will save me a significant amount of time later.
Who is Participating?
Adam LeinssConnect With a Mentor Senior Desktop EngineerCommented:
If they are already registered SCCM clients this will work:

It uses Powershell as the engine to do it.
Dan McFaddenConnect With a Mentor Systems EngineerCommented:
To do bulk device imports you need to have a CSV with computer names and MAC addresses.

You could then do this by either manually running thru the import wizard in the SCCM Mgmt Console or you could use PowerShell.

Reference links below:
1. SCCM Import:
2. PowerShell:
2a.  Example 1 shows what switches to run on the command.

Vaseem MohammedConnect With a Mentor Commented:
100 Machines already registered: Do you mean these 100 machines are visible in "All Systems" Collection?

One more easy step is to create a blank collection without any members. Go to All Systems collection, Select the computer accounts that you want to group into a single collection (Use control + click for multiple selection) right click and select Add Selected Items" to "Existing Device Collection" and you can select the blank collection you made before.

I would suggest to use "query rule" collection instead "direct rule", we can define queries based on Operating System, Service Packs, IP Range Range, Active Directory Organizational Unit, any many more options are available.
craigleenzAuthor Commented:
thanks - right click tools is great
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.