Invoke Powershell


#1

https://github.com/UiPath/Script.Activities/blob/master/UiPath.Script.Activities/PowerShell/RunPowerShellScript.cs


#2

Hi ,
I want to send email using powershell, can you please share the code and steps

Thanks,
Sandy


#3

Hi @Sandy
This isn’t a Powershell forum, but I believe you can use Send-MailMessage.
For help on this I would suggest looking at other resources online
https://www.google.com/search?q=send+email+powershell&rlz=1C1GGRV_enUS751US751&oq=send+email+powershell&aqs=chrome..69i57j69i65.4064j0j1&sourceid=chrome&ie=UTF-8

Once you have a .ps1 script then if desired you can use the Run Powershell activity to call it in UiPath.

Regards.


#4

404 application error


#5

I believe this is the correct link: https://github.com/UiPath/Community.Activities/blob/master/Script/UiPath.Script.Activities/PowerShell/RunPowerShellScript.cs