Skip to content
Colin Svingen edited this page Mar 31, 2015 · 7 revisions

Basic Usage

List the project groups defined on the octopus server:

Get-OctoProjectGroup [[-Name] <string[]>]  [<CommonParameters>]

List the environments defined on the octopus server:

Get-OctoEnvironment [[-Name] <string[]>]  [<CommonParameters>]

Lists all the projects defined on the server:

Get-OctoProject [[-Name] <string[]>]  [<CommonParameters>]

Add a new project to a project group:

Add-OctoProject [-ProjectGroupId] <string> [-Name] <string>  [<CommonParameters>]

Lists all the variables in a given project

Get-OctoVariable [-Project] <string> [[-Name] <string[]>]  [<CommonParameters>]v

Add a variable to a project's VariableSet:

Add-OctoVariable [-Project] <string> [-Name] <string> [-Value] <string> 
[[-Environments] <string[]>] [[-Sensitive] <bool>]  [<CommonParameters>]

Add-OctoVariable [-Project] <string> [-InputObject] <VariableResource[]>  
[<CommonParameters>]

Removes the first variable with a given name:

Remove-OctoVariable [-Project] <string> [-Name] <string>  [<CommonParameters>]
Clone this wiki locally