Invoke Powershell - Set-ADUser

Having difficulty with the cmdlt “Set-AD User” using the invoke powershell activity.

Running the following command in powershell works fine:
Set-ADUser –identity psmith –add@{proxyaddresses:“”}

But Uipath is giving an error when i run this. User variable is loading fine, I think the error appears because the ‘Add’ parameter needs to be stored as hashtable and not string but i am unsure of the syntax for this. Have tried looking at .NET sites but cannot find it. Could anyone advise?

Thanks :slight_smile: