I’m trying to use Invoke Power Shell activity to run a base64 encoded command. When I run in PowerShell it works, but the same command in UiPath appears to do nothing.
(The “IsScript” property is ticked on this activity)
The command is to send an email using a variation of:
“Send-MailMessage –From ‘Test User email@example.com’ –To ‘firstname.lastname@example.org’ –Subject ‘subject’ -Body ‘body’ -SmtpServer smtp.mysmtpserver.org.uk -BodyAsHtml”
This is encoded from unicode to base64 using https://www.base64encode.org/
Can anyone advise how I can run a base64 encoded powershell through UiPath? Thanks