Jump to content


  • 0
sccmnoob3

How to Automate or set defaults for package/program/advertisement creation?

Question

I create a lot of packages, is there a way to set the defaults of the Creation Process, maybe through some type of template/xml/etc ?

 

Example: In Software Distribution -> Packages -> New -> Package -> on "Data Source", automatically select the box "This package contains source files", set the source directory to what I want ("\\server\folder\"), on "Data Access" select: "Disconnect users from DPs", etc. There are probably 10 boxes or settings I set each time that are the same for everything I create.

 

Is there any way to configure those types of things so every time I start the New Package/Advertisement/DP wizards it defaults to what I want (or removes a couple mouse clicks)?

 

Looking to make my package creation process a little more efficient....

 

Thanks for any ideas!

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

You're in luck -- it's easy to use PowerShell to automate package creation, since almost everything in SCCM is done via the WMI interface (provider). I would write some code myself to demonstrate this, but it appears someone else has already done so (I also have to head out to the airport right now):

 

http://www.powershell.nu/2010/10/07/powershell-sccm-packages/

 

Let us know if you need more specifics, but hopefully this points you in the right direction! It's a pretty well-written article.

 

Hope this helps.

 

Cheers,

Trevor Sullivan

http://trevorsullivan.net

http://twitter.com/pcgeek86

Share this post


Link to post
Share on other sites

  • 0

Also make sure to check out the book SMS 2003 Recipes (yes, many still apply to SCCM): http://books.google.com/books?id=14hWq8NNggwC&printsec=frontcover&dq=sms+2003+recipes+online&hl=en&ei=IyBbTaWXH4K8lQfIvNTIDA&sa=X&oi=book_result&ct=result&resnum=1&ved=0CEAQ6AEwAA#v=onepage&q&f=false

 

And an easy way to get some of those settings is to configure a package as desired, and then use a script to check out the package's property flag (saves time trying to add up numbers and figure out what you need to input to check BoxA, but not BoxB)...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.