Ask a questionAsk a question
 

AnswerAdding computers into a collection using a text file

  • Thursday, November 05, 2009 11:49 AMServer_Guy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    When adding computers into a certain collection using a text file do you just need the computer name or do you need the GUID and Mac Address as well?

    (These are already computers which have been discovered within SCCM but I have 700 which need a certain app installed and currently they're not all in one collection or have anything in common to write a query)

    Thanks

Answers

  • Thursday, November 05, 2009 12:34 PMTorsten [MVP]MVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There's no built-in mechanism that can add computers to a collection using input files. You could use SDK mechanisms to create direct membership rules or use the "list of values" (http://technet.microsoft.com/en-us/library/bb632498.aspx) to build a collection based on the computer name.
    • Proposed As Answer byJason SandysMVPThursday, November 05, 2009 2:40 PM
    • Marked As Answer byServer_Guy Friday, November 06, 2009 2:15 PM
    •  
  • Thursday, November 05, 2009 2:40 PMJason SandysMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There is a set tools called the "Right-click Tools" (http://myitforum.com/cs2/blogs/rhouchins/archive/2008/04/09/sccm-right-click-tools.aspx) that will allow you to do this. These are not Microsoft supported in any way but many folks use them and will get the job done for you. You just need the name of the system as these tools create direct membership rules based on the system name -- if you happen to have duplicate names for reosource records, then they will both be added to the collection and I would recommend that you remediate this issue before going any further.
    Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys
    • Proposed As Answer byJason SandysMVPThursday, November 05, 2009 2:40 PM
    • Marked As Answer byServer_Guy Friday, November 06, 2009 2:15 PM
    •  

All Replies