Home General Discussion

How do I get Affected User into PowerShell?

Eric_EvansEric_Evans Member IT Monkey ✭

Hello,


 I am currently doing some testing with PSAs for future automations. I am able to get all my variables, except for Affected User. Can you please show me what I am doing wrong? 




param($Parent_Guid)


$Parent_WI = Get-SCSMObject -id $Parent_Guid


$Color = $Parent_WI.CiresonARA02


$Title = $Parent_WI.Title


$Affected_User = $Parent_WI.AffectedUser

Best Answers

Answers

Sign In or Register to comment.