Zlodey Posted February 16, 2015 Report post Posted February 16, 2015 Hi, guys! Does anybody know how to realize next scenario: I have PC with some packages installed from sccm. I have to create a TS which installs OS and automatically deploy packages that was previously deployed on that machine. Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted February 16, 2015 Report post Posted February 16, 2015 If the applications are installed based on collection membership, then you can do something like this: http://www.petervanderwoude.nl/post/install-computer-targeted-application-during-os-deployment-via-powershell-and-configmgr-2012/ 1 Quote Share this post Link to post Share on other sites More sharing options...
Zlodey Posted February 24, 2015 Report post Posted February 24, 2015 Thnx, I think today I try your package with powershell script Quote Share this post Link to post Share on other sites More sharing options...
Zlodey Posted February 24, 2015 Report post Posted February 24, 2015 What if I want deploy not only applications? If I want do the same thing with packages? Can I use SMS_DeploymentType class instead of SMS_ApplicationAssignment? Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted February 24, 2015 Report post Posted February 24, 2015 The package deployments are stored in SMS_ClassicDeploymentAssetDetails. Quote Share this post Link to post Share on other sites More sharing options...
Zlodey Posted February 25, 2015 Report post Posted February 25, 2015 I see, but it doesn't have OfferTypeID property, which shows purpose of deployment And I found SMS_Advertisement Class, which has OfferTypeID property It seems to be true Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted February 25, 2015 Report post Posted February 25, 2015 Does this mean that you found the information you're looking for? Quote Share this post Link to post Share on other sites More sharing options...
Zlodey Posted February 26, 2015 Report post Posted February 26, 2015 Yes. Thank you for help Quote Share this post Link to post Share on other sites More sharing options...
Zlodey Posted March 25, 2015 Report post Posted March 25, 2015 Script fails((( How can I debug it from winpe? Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted March 25, 2015 Report post Posted March 25, 2015 Not really, you can open a command prompt and run it from there and see the error messages. Quote Share this post Link to post Share on other sites More sharing options...