Skip to content
This repository was archived by the owner on Aug 28, 2026. It is now read-only.

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GetDotNetSDK

Powershell script to quickly get a dotnet sdk installer.

** This script works in Powershell Core only **

How it works

From powershell just run the script.
It will find the x64 SDK links on Microsoft's DotNet download page and pull out the available versions.
A list is presented of the available SDK versions.
After choosing which version the file will download to the current folder and then launch the installer.

Tricky Part

This isn't straight forward with downloading from a direct link. When you select the download link the page redirects to a download page so using DownloadFile doesn't work. So a further check on the redirected page for the retry link is located and used to download the file directly.

Screenshot

About

Powershell script to quickly get a dotnet sdk installer.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages