Add variables from PowerShell

(Shane Walford) #1

Can you connect to Octopus from PowerShell remotely, to add variables that are scoped?

(Jason Brown) #3

Hi Shane,

Yes, as with all things in Octopus, you can add scoped variables from the API using PowerShell. In fact, we have an example of adding Environment-scoped variables in our Api Examples repo here:

I hope this is a helpful example. Feel free to reach out if you need any further help with the script.

Thanks and Happy Deployments!


(system) closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.