Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 9982
  • Last Modified:

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.
3 Solutions
Dan McFaddenSystems 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:  http://www.windows-noob.com/forums/index.php?/topic/4505-how-can-i-import-computers-into-sccm-2012-using-a-file/
2. PowerShell:  http://technet.microsoft.com/en-us/library/jj821991(v=sc.20).aspx
2a.  Example 1 shows what switches to run on the command.

Vaseem MohammedCommented:
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.
Adam LeinssCommented:
If they are already registered SCCM clients this will work:


It uses Powershell as the engine to do it.
craigleenzAuthor Commented:
thanks - right click tools is great

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now