Environments List

Dave DeBenedetto's Avatar

Dave DeBenedetto

21 Apr, 2017 03:22 PM

I'm wondering if there's a way to get a tabular or .csv report of the Environments's contents; i.e. Each host and its deployment targets.

  1. Support Staff 1 Posted by Dalmiro Grañas on 21 Apr, 2017 04:01 PM

    Dalmiro Grañas's Avatar

    Hi Dave,

    Thanks for reaching out! If you use Octoposh you could run

    $allEnvironments = Get-OctopusEnvironments

    And then you can use $AllEnvironments and format it however you want. Each entry on it should look like this

    Name        : Dev
    Id          : Environments-1
    Machines    : {North, NY Polling 2, NY-Tentacle1, NY-Tentacle2...}
    Deployments : {Files, Powershell1, Emails, Powershell5...}
    Resource    : Octopus.Client.Model.EnvironmentResource

    Hope that helps!

  2. 2 Posted by hat07 on 21 Apr, 2017 05:15 PM

    hat07's Avatar

    didsamsung factory unlock work for j510fn now?

  3. Paul Stovell closed this discussion on 27 Jul, 2017 07:17 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac