I tried something for see the incident class properties with the below command and it is working fine.
$IC=get-scsmclass -name system.workitem.incident$
$IC.getproperties("recursive") --> 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$
$RC.getproperties("recursive") --> This is not working
Could anyone please let me know what was wrong in the above command?
Appreciate your help!!!