Leveraging Existing SMS 2003 Console Extensions with Configuration Manger 2007 - Collections

Some of you have taken the time to create console extensions and share them with the community. And many more of you are leveraging the extensions that you have on a daily basis to make your job easier.

In ConfigMgr, you will find the console extensions for SMS 2003 do not work. Fortunately, with a few tweaks, many of your existing extensions will work!. Here is an example for how to take a SMS 2003 console extension for the Collections node, and get it working in ConfigMgr. I will use one my personal favorites, Right-Click, add machines to a collection (direct membership rule).

  1. Extract files from the .zip, and copy AddCollhta.txt to C:\smsadmin\adminUI\SCCMTools\AddColl.hta  (*this specific path isn't required, but will be used in this example).
  2. Create the following directory structure: C:\smsadmin\adminUI\XmlStorage\Extensions\Actions (where "c:\smsadmin\" is the installation path for your SCCM 2007 console)
  3. Under the Actions folder created in step 3, create two subfolders that are named the following GUIDs:
    • fa922e1a-6add-477f-b70e-9a164f3b11a2    - this GUID is for first-level collections
    • dbb315c3-1d8b-4e6a-a7b1-db8246890f59   - this GUID is for all subcollections
  4. In each of the folders created in step 4, create a file called AddColl.xml with the following contents:
<ActionDescription Class="Executable" DisplayName="Add Systems to this Collection" MnemonicDisplayName="Note" Description = "Add Systems to this collection">
       <Executable> 
          <FilePath>C:\smsadmin\AdminUI\SCCMTools\AddColl.hta</FilePath>
           <Parameters>/ss:##SUB:__SERVER## /sn:##SUB:__Namespace## /coll:##SUB:COLLECTIONID## /CollName:##SUB:Name##</Parameters> 
     </Executable>
</ActionDescription>

 

You can see that AddColl.xml is customized for this specific right-click tool, so for any tool you want to convert, spend some time in the .xml file to get it working.

 

After making the modifications described above, restart your ConfigMgr console (yes, close and re-open - that's required for extensions to appear). You should now have the extension "Add Systems to this Collection" when you right-click a collection.

 

Published Wednesday, September 26, 2007 9:56 AM by gramsey

Comments

No Comments
Powered by Community Server (Commercial Edition), by Telligent Systems