Wednesday, June 13, 2012 6:46 AM
I have a requirement from a customer for a gui based script, where the SCCM Admin can enter the computer name and select the SCCM Collections that the machine can be populated too, prior to the machine being imaged for the first time. Preferable for the script not to run in a task sequence. Is this possible and is there a similar script available somewhere that I could try and tweak?
- Moved by Moiz Rassiwala[MSFT]Microsoft Employee Thursday, June 14, 2012 5:40 PM (From:Configuration Manager 2007 General)
Wednesday, June 13, 2012 2:37 PM
None that i know of...
There is a vb script i have used called colladd that you could use as a base, but would have to create a custom GUI interface yourself and possibly use check boxes to add the device to each collection you want. The problem is that you will have to always maintain this custom program and add new programs or versions each time you create new collections. A better option would prob be to use several task sequences for example we have a collection that gets a specific task sequence for accounting devices that will load all the accounting software. This avoids any need to script you just add your packages to the end of the imaging process.
Look here for the Colladd.vbs
Wednesday, June 13, 2012 5:42 PM
Not seen exactly this solution but I've used the following http://mdtcustomizations.codeplex.com/ webservice to create customised GUI before. There are around 150 webservice functions including GetCollectionsFiltered, AddComputer and AddComputerToCollection which should help you create the GUI you are looking for.
Hope this is helpful.
Tuesday, June 19, 2012 10:59 PM
I ended up using this tool to create a GUI based menu via the task sequence. Works well.