< Back

Get-OctopusConnectionInfo

Sat Jan 18, 2020 5:24 pm

NAME Get-OctopusConnectionInfo



SYNOPSIS

This function gets the data of the variables $env:OctopusURI and $env:OctopusAPI that are used by all the cmdlets

of the Octoposh module





SYNTAX

Get-OctopusConnectionInfo [<CommonParameters>]





DESCRIPTION

This function gets the data of the variables $env:OctopusURI and $env:OctopusAPI that are used by all the cmdlets

of the Octoposh module





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Octoposh.Model.OctopusConnectionInfo





---------- EXAMPLE 1 ----------



PS C:\\> Get-OctopusConnectionInfo



Get the current connection info. Its the same as getting the values of $env:OctopusURL and $Env:OctopusAPIKey



RELATED LINKS

WebSite: http://Octoposh.net

Github Project: https://github.com/Dalmirog/OctoPosh/

Wiki: http://octoposh.readthedocs.io

QA and Feature requests: https://gitter.im/Dalmirog/OctoPosh#initial