on Windows 7 or later
Check .NET version using PowerShell (Win7)
-
Open Start.
-
Search for PowerShell, right-click the top result, and select the Run as administratoroption.
-
Type the following command to determine the version of .NET installed and press Enter:
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
Check version DotNetVersionLister (Win10 or Server2016)
-
Open Start.
-
Search for PowerShell, right-click the top result, and select the Run as administratoroption.
-
Type the following command to install the required module and press Enter:
Install-Module -Name DotNetVersionLister -Scope CurrentUser #-Force
-
Type Y and press Enter.
-
Type Y and press Enter again.
-
Type the following command to determine the version of .NET installed and press Enter:
Get-STDotNetVersion