Ronni's profileRonni Pedersen's Blog Si...PhotosBlogLists Tools Help

Blog


    January 13

    Extending the SCCM console with basic tools

    Remember back in the SMS 2003 days we had nice tools that enabled right-click on computers/collections to ping/force policy refresh etc. You will find that now extending the SCCM console is easier. It all comes down to an XML file placed in a proper folder. We can soon expect many extensions (also those from SMS) to be ported to SCCM console. As an example a ping extension for computers from SCCM console.

    Create a file called e.g. PingWorkstation.xml:

    <ActionDescription Class="Group" DisplayName="SMS Tools" MnemonicDisplayName="SMS Tools" Description="SMS tools for agent" SqmDataPoint="53">
    <ActionGroups>
    <ActionDescription Class="Executable" DisplayName="Ping Workstation" MnemonicDisplayName="Ping Workstation" Description="Will ping a workstation">
    <Executable>
    <FilePath>cmd.exe</FilePath>
    <Parameters> /k Ping ##SUB:NetBIOSName##</Parameters>
    </Executable>
    </ActionDescription>
    </ActionGroups>
    </ActionDescription>

    Place the file in c:\Program Files\SCCM2007\AdminUI\XmlStorage\Extensions\Actions\7ba8bf44-2344-4035-bdb4-16630291dcf6\ and restart the console. The GUID is reference to the resource object in collections. A collection would have these GUIDs:

    dbb315c3-1d8b-4e6a-a7b1-db8246890f59 - top level collection
    fa922e1a-6add-477f-b70e-9a164f3b11a2 - subcollections

    The GUID referring to the SCCM resource object. Additional extensions can be made with the use of SDK documentation in a similar fashion. SDK is now in December CTP available on https://connect.microsoft.com/availableconnections.aspx site (look for SCCM SDK beta - you need to sign in with a live account). RTM should appear somewhere this quater.

    This tip was made by Andrzej here.

    Comments (2)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Picture of Anonymous
    Anonymos wrote:
    Replace ##SUB:NetBIOSName## with ##SUB:Name## and this extension will work!
    Feb. 7
    Nice post Ronnie!

    Regards,
    Anthony
    Jan. 15

    Trackbacks

    The trackback URL for this entry is:
    http://ronni-pedersen.spaces.live.com/blog/cns!CF8D2BCE64196A5D!347.trak
    Weblogs that reference this entry
    • None