I’m trying to create a script which will enable me to list the latest packages in an environment with the project name associated with it?
In the past I have created a powershell script where I can select the environment, project name and specific release number but when I try it with just the environment it outputs every release which I do not require.
I’d recommend taking a look at this sample script - it outputs each project for an environment and the most recent release version - sample output below:
If you’re looking more specifically for package data, there are some API calls in this sample script that may offer some more insight into available calls.
Have a look, let me know how it goes! Happy to help isolate more information to make sure you get what you need.