Log in  \/ 
x
x
x
Register  \/ 
x

09
September
2015

Getting any SCSM entity by Guid

One of our customers requested a tool to get any SCSM entity by Guid. I didn’t know such a tool and decided to make that one.

Firstly, I wanted to develop a Visual Studio solution but then turned to the PowerShell script as much easier customizable. Just after the beginning, I realized that I would hardly query each and every SCSM type but the most used by my team and me. If anyone needs to add more SCSM entity types, it is easy to accomplish slightly modifying my PS code. As usual, I relied on SMLets so it’s required to run the script.

The solution supports the following SCSM entity types:

  1. Class
  2. Class instance
  3. Enumerator
  4. Template
  5. Relationship Class
  6. Relationship Instance
  7. Management Pack
  8. Type Projection

The script has two parameters. The first one is Guid (mandatory) and the second is a server name (optional) for a remote connection.

screenshot1

If you use only the first parameter, the script tries to connect to the local host and should be used on the SCSM management server.

screenshot2

Please feel free to edit the script to add a support for additional types and have a nice day!!!

Download a script

Categories: System Center 2012 Service Manager

Marat Kuanyshev

Leave a comment

You are commenting as guest.

This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.