SCCM 2007 Console Extensions GUID Locator

If you're building or moving console extensions to SCCM 2007, you may find that it can be difficult to identify the proper GUID to enable the extension in the desired location. For starters, be sure to download and review the documentation in the SCCM 2007 SDK. Search the SDK for the section titled How to Find a Configuration Manager Console Node GUID. As you can see from reviewing that document, search AdminConsole.xml located in the *SCCMInstallDir*\AdminUI\XmlStorage\ConsoleRoot\AdminConsole.xml file to identify the proper GUID.

Here's an alternative method that may help you identify the GUID much faster than described in the SDK. Perform the following steps on a test SCCM site server.

  1. Download GUID.Zip from myITforum.com.
  2. Extract GUID.Zip to C:\GUID.
  3. Copy all the subfolders located in C:\GUID\ to *SCCMInstallDir*\adminui\xmlstorage\extensions\actions\
  4. Restart your SCCM Console.

After the SCCM Console has been restarted, Right-click a Programs node, and look for the additional info (FYI - you can right-click on just about anything, and find associated GUIDs).

image

Notice the action labeled GUID - 96d5b2a5-174c-46eb-b1cb-840c4d8c55e0 - The .xml file that created this entry is located here:

*SCCMInstallDir*\AdminUI\XmlStorage\Extensions\Actions\96d5b2a5-174c-46eb-b1cb-840c4d8c55e0\96d5b2a5-174c-46eb-b1cb-840c4d8c55e0.xml

If you view that .xml, you'll see that it's launching C:\TEMP\Test.VBS - This was an example code that simply captures the GUID, and writes it to C:\temp\GUID.txt.

  1. Const ForAppending = 8  
  2. strGUID = Wscript.Arguments(0)  
  3.  
  4. strMSG = inputbox("Enter Description for this GUID")  
  5. Set fso = CreateObject("Scripting.FileSystemObject")  
  6. Set ts = fso.OpenTextFile("c:\temp\GUIDInfo.txt", ForAppending, True)  
  7. ts.Write strGUID & vbTAB & strMSG & vbCRLF  
  8. ts.close  

 

Questions? ramseyg@hotmail.com

Published Monday, May 05, 2008 2:39 PM by gramsey
Filed under: ,

Comments

# SCCM 2007 Scripting and Console Extensions by Greg Ramsey

Tuesday, May 06, 2008 12:15 PM by Chris Stauffer at myITForum.com

Quote: With great Power comes Great Responsibility (Uncle Ben to Spider-Man) Console Switches SMS:Debugview

# snowland.se » SCCM Console Extensions

Wednesday, May 28, 2008 7:41 AM by snowland.se » SCCM Console Extensions

Pingback from  snowland.se  » SCCM Console Extensions

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