Search

Blog posts

Outage on octopus.com - report and learnings

Public incident report and our learnings about the octopus.com DNS disruption from January 25 – 26, 2023.
Loading...

Documentation

Find target usage

An example script that will loop through all the steps in the deployment process and runbooks and determine if a target is being used

Remove a project from team

An example script that removes a project from a team.

Find library variable set variables usage

An example script that loads variables from a library variable set and finds usages in project variables, and optionally deployment processes and runbooks.

Find variable usage

An example script that finds usages of a variable, searching in project variables, and optionally deployment processes and runbooks.

Add an environment to step

An example script that scopes a step to an environment.

Cancel queued deployments

An example script to cancel queued deployments.

Create and deploy a release

Example scripts to create and deploy a release.

Create a project

An example script that creates a project.

Add library set to a project

An example script that adds a library variable set to a project.

Export step templates

An example script that exports all step templates in a Space to files.

Download Runbook Artifact

An example script to download a runbook artifact to a specified location.

Export projects

An example script that will export projects that can be imported into a different space on the same, or different Octopus instance.

Enable/disable project

An example script that enables or disables a project in Octopus.

Download Deployment Artifact

An example script to download a deployment artifact to a specified location.

Delete targets by name

An example script to delete targets by matching a specified name.

Clear sensitive variables

An example script that clears all sensitive variables.

Find projects using library set

An example script that finds all projects using a specific library variable set.

Enable/disable machine

An example script that enables or disables a machine in Octopus.

Delete a feed

An example script that deletes an existing feed in Octopus using the REST API and Octopus.Client.

Disable project triggers

An example script that disables a project's triggers in Octopus using the REST API and Octopus.Client.

Create a release with specific version

An example script that creates a release with a specific version number.

Delete projects with no process

An example script that deletes projects that have no deployment process in Octopus using the REST API and Octopus.Client.

Update tenant variables

An example script that updates tenant variables for a specific project template with a single value across each connected environment in Octopus using the REST API and Octopus.Client.

Change target's machine policy

An example script that changes a machine policy of a deployment target.

Delete targets by role

An example script to delete targets by role.

Get all steps using role

An example script to find all steps targeting a role.

Publish a runbook snapshot

An example script to publish an existing runbook snapshot

Add an environment to a team

An example script that adds an environment to a team user role.

Find teams with role

An example script that finds all teams using a specific role.

Can't find what you are looking for? You can also search our support forum.