Can we trigger a "Script" from UiPath

script
studio

#1

I have a Powershell Script written for a purpose. Is there an activity in UiPath that can “trigger” this Script?


#2

Hi @prasadt,

Please can you try this activity :slight_smile:

“Invoke Power Shell” - I hope that helps
Warm Regards,
Prashant Singh


#3

I tried a sample “Hello World!” command and I’m below error. Can you help me with the error.

image


#4

Hi,

enable the IsScript option from properties.

-Topi


#5

Hi,

I have enabled “IsScript” and then done some “Set-ExecutionPolicy” changes on Powershell, Now I’m getting the above error. The PS Command that i’m trying is - ‘Write-Host “Hello, World!”’