TheHasselhoff Posted June 30, 2013 Report post Posted June 30, 2013 Hello all, got another question for you! One of the pesky manual steps I currently need to take, after imaging a new computer, is to add it to my proper device collection. Is there any way to have the OSD automatically add the new computer to a specific collection, as part of the OSD? Thank you! Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted June 30, 2013 Report post Posted June 30, 2013 yes using a script of via web services like Maik Kosters Quote Share this post Link to post Share on other sites More sharing options...
Iroqouiz Posted July 4, 2013 Report post Posted July 4, 2013 Or using a Powershell script if you don't want to mess around with web services (I use the web service posted above and it works great). Haven't tried this in an OSD but you should be able to swing it with something like this: $device = $tsenv:OSDComputerName Add-CMDeviceCollectionDirectMembershipRule -CollectionName "name of collection" -ResourceId $(Get-CMDevice -Name $device).ResourceID Quote Share this post Link to post Share on other sites More sharing options...