Ensure your Azure Functions stay supported and secure with these Azure CLI scripts, helping you identify and upgrade apps running on soon-to-be-retired or unsupported language versions.
Updated Mar 27, 2025
Version 1.0A couple comments:
The following line:
$ver -notlike 'v7*' -and $ver -notlike 'v8*'
should actually be:
$ver -notlike 'v8*' -and $ver -notlike 'v9*'
In addition, anywhere you see:
'dotnet'
you might want it to be for both types. I.e.:
{@('dotnet', 'dotne-isolated') -contains $_}
As well, I'm seeing the powershellversion value come back consistently as ''. Is there a better way to get that information?