Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Querying for the version of Proget server installation



  • Hi,

    How can I query a Proget server to give me it's current installed version ?

    I have multiple Proget servers that I manage and I'm looking for a simple way to know the current installed version of each in order to keep them aligned.

    Thanks in advance,
    Dave

    Product: ProGet
    Version: 5.1.13



  • I don't know if there's a better endpoint for this, but I have NuGet feeds and I use a PowerShell script like this:

    $response = Invoke-WebRequest -Method GET -Uri https://{proget-host}/nuget/Default -UseDefaultCredentials
    $response.Headers["X-ProGet-Version"]

Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation