Home > Service Manager > Service Manager Enums, Classes and Relationship classes

Service Manager Enums, Classes and Relationship classes

If you’ve had to use the CSV connector to import data and needed to know the enums for your list entries, or if you have manually authored a Management Pack and needed to know what classes or relationship classes to use, these tools may be helpful.  They retrieve the enums, classes and relationship classes for all management packs in your Service Manager database.

I have attached the VS 2008 project files if you are interested in the code.  For the executable, simply go to the <Project>\bin\debug folder.  All three executables have the same command line parameters:

-s <ManagementServer> [-d <domain> -u <username> -p <password>]

The -d -u -p parameters are required only if you are running the executable with non privileged or non trusted domain/workgroup account.

I suggest redirecting the output to a csv file because the data is comma delimited, with column headers.  E.g. executable.exe > output.csv

Enums

SMEnums.zip

The executable (SMEnums.exe) produces these comma separated columns:
EnumName, EnumId, EnumDisplayName, EnumParentId, MPName, MPDisplayName, MPId, MPKeyToken, MPVersion

Classes

SMClasses.zip

The executable (SMClasses.exe) produces these comma separated columns:
ClassId, ClassName, ClassDisplayName, MPName, MPDisplayName, MPVersion, MPKeyToken

Relationship Classes

SMRelClasses.zip

The executable (SMRelClasses.exe) produces these comma separated columns:
ClassId, ClassName, ClassDisplayName, MPName, MPDisplayName, MPVersion, MPKeyToken

Advertisements
Categories: Service Manager Tags: ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: