Source:--http://blogs.microsoft.co.il/blogs/doli/archive/2011/04/27/sccm-copy-and-paste-context-menu-add-on.aspx
SCCM : Copy and Paste, context menu add-on
I like SCCM (System Center Configuration Manager) and in my opinion it is a great management tool, but it's developers, apparently, forgot the small things that makes it better. One of the missing feathers is the copy & paste menu option ("Elementary my dear Watson"). When I first installed SCCM 2007, I was very excited to find the copy option, but till today I couldn't find his little sister, "paste", I suspect that they decided to release her in the next version.
Please help "Copy" find his little sister "Paste" in the following picture:
There is a saying "If the mountain won't come to Muhammad, Muhammad must go to the mountain.", so I tried to write something of my own. Microsoft delivers a good SDK pack for SCCM, which helped me reach my goal.
My tool adds Copy and Paste options to the context menu of Collections (Queries), Packages, Programs and Advertisements.
Collections (Collection Queries)
Select the source collection (from the right or left pane) and choose "Copy Collection Query"
Select target collection (from the right or left pane) and choose "Paste Collection Query"
Choose a name for the new query
If you press cancel the specific query will not be copied (It will proceed to the next query)
The result:
You first need to refresh the collection branch
At the end of the process you will be asked whether or not you want to delete the cashed settings
Packages
Select the source package and choose "Copy Package"
Works only from the right pane
To paste the new package select any package on the right pane, and choose "Paste Package" from the Popup menu
Choose a name for the new package
Choose whether or not you want to delete the cached settings
Don't forget to refresh the collection branch:
Distribution Points,Access Accounts,Programs won't be copied
Programs
Select the source package and choose "Copy Program"
Works only from the right pane
To paste the new program to the same package, right click the source program (on the right pane), and choose "Paste Program" from the menu
To paste the new program to another package, right click the target "Programs" (on the left pane), and choose "Paste Program" from the menu
Choose a name for the new program
Choose whether or not you want to delete the cached settings
Don't forget to refresh the Programs' branch:
Advertisements
Select the source package and choose "Copy Advertisement"
Works only from the right pane
To paste the new advertisement select any advertisement on the right pane, and choose "Paste Advertisement" from the menu
Choose a name for the new Advertisement
Choose whether or not you want to delete the cached settings
If the source advertisement contains custom scheduler it won't be copied, instead the new advertisement will contain the following fixed date as shown below (Of course, after pasting, you can change it to any desired date):
The purpose of this behavior is to avoid automatic deployment after pasting the new advertisement.
For this reason try to avoid copying advertisements which contains "AS Soon AS Possible"
The target mandatory assignments will have two assignments:
SETUP
During the setup you can choose which extension to install:
You can download the setup from HERE
No comments:
Post a Comment