Issue moved from microsoft/dotnet#1252
From @KirkMunro on Tuesday, September 22, 2020 12:02:23 AM
Have you considered publishing your dotnet-install.ps1 script into the PowerShell Gallery? The PowerShell Gallery supports scripts as well as modules, with support for versioning and updating installed scripts as well. I think having that PowerShell script published in the PowerShell Gallery would be a much better way to distribute it to PowerShell systems where it is needed, especially since PowerShellGet is included by default in PowerShell and Windows PowerShell.