Process steps referencing a package

How do I find all process steps / templates which reference a certain package? (as I want to change them to reference a different package. I can’t do this via the Package Library, I assume it’s some SQL script…

Thanks

Simon

Hi Simon,

Thanks for reaching out, and for the great question. You can find this information using our API - we have a script that looks to suit your needs - if nothing else, it should serve as a good base: OctopusDeploy-Api/GetStepsUsingPackage.ps1 at master · OctopusDeploy/OctopusDeploy-Api · GitHub

I hope this helps, and please let us know if you have any further questions!

Perfect thanks!

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.