Environments List

Hello,
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.
Thanks,
Dave

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!
Dalmiro

didsamsung factory unlock work for j510fn now?