Monday, May 2, 2011

SCCM : Copy and Paste, context menu add-on

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: סמיילי

image

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"

image

Select target collection (from the right or left pane) and choose "Paste Collection Query"

image

Choose a name for the new query

image

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

image

At the end of the process you will be asked whether or not you want to delete the cashed settings

image

Packages

Select the source package and choose "Copy Package"

נורת חשמל Works only from the right pane

image

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:

image

נורת חשמל Distribution Points,Access Accounts,Programs won't be copied

Programs

Select the source package and choose "Copy Program"

נורת חשמל Works only from the right pane

image

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:

image

Advertisements

Select the source package and choose "Copy Advertisement"

נורת חשמל Works only from the right pane

image

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):

image

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:

image


SETUP

image

During the setup you can choose which extension to install:

image

You can download the setup from HERE

No comments:

Post a Comment