Powershell InvokeSet throws error

@lukas.macas : I’ve not done this using PowerShell commands. it is very easy to update such fields using UiPath activities. Refer this link and let me know if you need any help.