Jump to content

Running powershell scripts reliability

Recommended Posts

What methods have you folks found that works RELIABILITY, for running powershell scripts from Automate? Do you use Execute Script? Or do you perhaps prefer writing the powershell commands to a PS1 file and activating it some how? The methods I've tried seem to work at times and others, it doesn't. Just wondering what you folks are doing to run Powershell scripts from Automate that seems bullet proof to you. I struggle with finding a method of running scripts reliability from Automate. 

Share this post

Link to post
Share on other sites

Use Shell script function to execute:

powershell -ExecutionPolicy Bypass -NoProfile -NoLogo -Command "& C:\Windows\Temp\Yourscript.ps1"


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now