SCSM Incident properties
I would like to retrieve incident properties and so used the below set of commands.
$IC=get-scsmclass -name system.workitem.incident$
$IC.propertycollection --> this shows only few of the fields
$IC.getproperties("recursive") | add-member -pass noteproperty class $IC --> This command retrieves almost all of the fields for the incident module with few columns as (Name, Key, Required, AutoIncrement, Type and DisplayName)
Similarly, I tried to get the "affecteduser" using Relationship class. I used the below commands. Unfortunately, it did not work.
$RC=get-scsmrelationshipclass -name system.workitemaffecteduser$
Could anyone please let me know how to retrieve the properties as similar manner for the Incident.
Appreciate your help!!!