Run Powershell from Octopus Server instead of deployment server

We want to integrate with a webapi but our servers don’t have access to the internet. Is there a way to run the powershell script in a during a deployment process but have it actually execute on the octopus server?

Hi Jeremy,

Thanks for reaching out!

It is possible, but the way you do it will depend on the version of Octopus you are running:

3.3 and greater (recommended): You can select to run the script right from the Powershell Script step. See attached screenshot.

3.2 or lower: You need to install a Tentacle on the Octopus server and scope the step to that Tentacle’s roles. http://docs.octopusdeploy.com/display/OD/How+to+run+steps+on+the+Octopus+Server

Hope that helps,
Dalmiro