Skip to content

Set OctopusConnectionInfo

dalmiro grañas edited this page Mar 19, 2017 · 20 revisions

###Summary Sets the current Octopus connection info (URL and API Key). Highly recommended to call this function from $profile to avoid having to re-configure this on every session.

###Parameters

Name DataType Description
Server System.String URL of the server you want to connect to
URL System.String URL of the server you want to connect to This is an alias of the Server parameter.
ApiKey System.String API Key you'll use to authenticate with the Octopus Server

###Syntax

Set-OctopusConnectionInfo [-Server] <string> [-ApiKey] <string> [<CommonParameters>]


###Examples EXAMPLE 1

Set connection info with a specific API Key for an Octopus instance

PS C:\>PS C:\> Set-OctopusConnectionInfo -Server "http://MyOctopus.AwesomeCompany.com" -API "API-7CH6XN0HHOU7DDEEUGKUFUR1K"
Clone this wiki locally