Error AC Get-SCRelationshipClass
I use PS script and I have CMDlet
$affectedUserRelClass = Get-SCSMRelationshipClass -Name System.WorkItemAffectedUser
I have error
An error was written to the Error stream!
The term 'Get-SCRelationshipClass' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
When I user this CMDlet without AC it work, but in AC it don't work, what it can be?