SCCM Tools : Collection Context Menu Tools

22/11/2011

SCCM/SMS has a very nice feature enabling you to extend its context menu. The first extension that I used was ‘SMSSEND.VBS’ for SMS 2003, it was a very useful toolkit which encouraged me to learn how to add some tools of my own. Since then many more tools were published on the net, a very good tools pack can be downloaded from Rick Houchins Blog.

My SCCM tool collection (those I collected and those I wrote) were based on VBS,Batch and HTA, so Shay Levy my friend and a PowerShell Guru סמיילי suggested that I should write a new set of tools based on PowerShell and Windows Forms. I could not say no to such a challenge so I began working on my new project. My toolkit is divided to three section : Site Tools, Collection Tools and Systems Tools. In this post I will discuss about the collection tools.

image    image    image

 

Collection Tools

Collection tools are divided to three groups :

Client Actions – Remotely initiate actions on SCCM components which are currently installed on the remote system.

Hardware Inventory Cycle
Software Inventory Cycle
Discovery Data Collection Cycle
Machine Policy Retrieval & Evaluation Cycle
Windows Installer Source List Update Cycle
Software Updates Scan Cycle
Software Updates Deployment Evaluation Cycle
Branch Distribution Point Maintenance Task
Software Metering Usage Report Cycle
AMT Auto Provisioning Policy
Software File Collection Cycle
SIDMIF file Collection Cycle
User Policy Retrieval & Evaluation Cycle

Client Tools – Tools which help maintain your clients in a specific collection, for example : enables you to add a list of systems to the selected collection.

Rerun Advertisement
Add Systems To Collection
Restart SMS Agent Host Service
Generate New SCCM GUID
Uninstall SCCM Client

System Tools – Tools that relate to operating system and network maintenance , such as ping command – ping all the system in a given collection.

Ping Collection
Wake on LAN

נורת חשמל  The Wake on LAN Tool is based on PowerShell GUY script. Follow this check list to enable WOL.

 

User Interface

All the tools run under the same user interface, which is invoked after right clicking a selected collection and selecting the desired tool :

image

Collection Name – The name of the selected collection. The tool will run on each computer in this collection

Collection Task – The name of the Task/Tool which will be run against the computer list.

image

Select Advertisement – Combo box for Advertisement selection. Only Available for "ReRun Advertisement" Task.

image

נורת חשמל Entry structure AdvertisementName [AdvertisementID] , where xxx = SiteCode

Computer List – List all collection members (System Names). If "Add Systems To Collection" task is selected the computer list is editable, so you can add your own name list.

Succeed List – All the systems that passed the task with success.

Failed List – All the systems that failed to run the task. 

Action Button – After task completion ,or after pressing the stop button, the action button is enabled, and you can start/resume the task.

image

נורת חשמל There is a delay of few seconds before execution, giving you enough time to cancel the operation

Action Log [Tab] – Display a detailed task operation log.

image

Status Bar – Displays a brief help for a selected item, and shows short messages during task operation.

image

 

Installation

image

Click Next

image

Prerequisites  Page – Please follow the prerequisites and click Next

image

Select the desired tools groups and click Next

image

In this screen you can change the default menu titles :

image

 

נורת חשמל The next version in the ovenחיוך קורץ

Download SCCM Collection Tool setup file from HERE

נורת חשמלIt is highly recommended to test first in a test environment, before deploying in production

SCCM2012 Tools : Collection Context Menu Tools

 

 

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*

8 comments

  1. Didier18/12/2011 ב 19:00

    Hi,

    When I try to use one of the collection action, I’m getting the error “Collection is empty !!!”.

    Do you have any tips to solve this?

    Thanks,
    Didier

    Reply
  2. doli29/12/2011 ב 23:43

    Please try the new setup file (I believe I fixed it)

    Reply
  3. za200ee24/07/2012 ב 15:54

    Hi and first thing – thanks for your tools:-)

    I’ve got a problem with Wake-on-lan task. Using it on a single computer inside a collection – everything’s OK and working. When I use it on a collection (to wake up all members) I got a message “Can not find Computer’s MAC addresses in SCCM Database” for every computer on “Computer list”(?)
    Is there anything I did wrong?

    Thanks a lot
    za200ee

    Reply
  4. doli25/07/2012 ב 13:28

    Hi ZA200ee

    Download and install the following fix

    http://blogs.microsoft.co.il/blogs/doli/DownloadFiles/SCCMTools.zip

    and please let me know if the problem was solved

    Reply
  5. za200ee30/07/2012 ב 10:28

    Thanks for the fix. Problem’s solved:-)
    za200ee

    Reply
  6. pwoodie13/08/2012 ב 23:52

    Do you have any plans to port to 2012? It does not install on 2012, does not find file path in registry and fails install.

    Reply
  7. doli15/08/2012 ב 16:13

    Hi pwoodie

    Be patient, soon 🙂

    Reply
  8. Martin30/10/2013 ב 05:13

    Hi

    Are those tools compatible with SCCM 2012 SP1?
    Because I got this error when I try to install it:
    “Microsoft SCCM was not found or it’s registry information is corrupt!”

    Thx for grate work!

    Reply