Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Christoffer Frede 30 posts 140 karma points
    Feb 01, 2022 @ 12:54
    Christoffer Frede
    0

    Get installed version number from multiple Umbraco websites automatically

    Hi all.

    is it possible to get installed version number from multiple Umbraco websites automatically ? we have a list of our customers websites and it would be awesome if the list could update the umbraco version automatically via a query parameter or something similar.

    /best regards Christoffer

  • Tom Madden 252 posts 454 karma points MVP 4x c-trib
    Feb 01, 2022 @ 13:24
    Tom Madden
    0

    This may not be applicable, but in case it is...

    If you have the sites on the same server and have full access to it (like RDP access), you can run a Powershell script to traverse the IIS directories and list the version number of one of the Umbraco dlls.

    We did this when we needed to check which sites had to be patched when an Umbraco security patch was released.

    Unfortunately I don't have the script any more, but something like this might help. https://devblogs.microsoft.com/scripting/how-can-i-get-a-list-of-all-the-dll-files-in-a-folder-along-with-their-version-numbers/

    If you don't have access to run a Powershell script, you would have to find another way. There was a talk at CodeGarden a few years ago where someone presented a review/list of sites and what version of Umbraco they were running (and also which plugins they had installed), but it depended on checking for the existence of particular files that were specific to different versions of Umbraco (and their plugins). Unless you have hundreds of sites (or someone else chips in) it would probably take longer to find out the mechanics of this that it would take to do it manually.

    HTH

    t

Please Sign in or register to post replies

Write your reply to:

Draft