Find Dot NET Version using PowerShell

In this post I will show you how to find Dot NET version using PowerShell. PowerShell method is the most easiest and reliable method to check the .NET framework version.

The .NET Framework is a software development framework for building and running applications on Windows. Dot Net Framework is part of the .NET platform, a collection of technologies for building apps for Linux, macOS, Windows, iOS, Android, and more.

There are several ways to find the Dot NET Framework version. You can also use the command prompt or registry to check the Dot NET Framework version. Your computer can be running different versions of Dot NET framework. Determining the latest .NET framework version is required in some cases.

Sometimes you encounter an issue where the application requires a specific version of .NET Framework version installed on the computer. If you know the correct .NET framework version installed on the computer, it becomes easy to install the next version.

At the time of writing this post, .NET Framework 4.8 is the latest version available. If you are running Configuration Manager in your setup, ensure you install .NET Framework 4.8 to avoid the prerequisites warning.

Find Dot NET Version using PowerShell

Using the following steps, you can use PowerShell to check the Dot Net version on your computer.

  • On your computer click Start and launch PowerShell as administrator.
  • In the PowerShell window, copy the below command and press enter key.
  • The output contains the list of .NET Framework versions installed on your computer.
Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match '^(?!S)\p{L}'} | Select PSChildName, version
Find Dot NET Version using PowerShell
Find Dot NET Version using PowerShell

If you look at the output, you can see all the client version number and full version. Full version indicates the latest installed Dot NET framework version.

There is another way to check the .NET Framework version using PowerShell. Run the below command in the PowerShell window to determine the release number.

(Get-ItemProperty "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release

When you run the above command, it shows the release value. The Release value represents the version of .NET Framework installed.

Find Dot NET Version using PowerShell
Find Dot NET Version using PowerShell