T
T
Today I learned
Search…
Check .NET Framework versions installed
If you want to quickly check what version of .NET is installed on a server, use the PowerShell below:
1
Write-Output $(Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse |
2
Get-ItemProperty -name Version -ErrorAction 0 | Where-Object { $_.PSChildName -like "v*" -or $_.PsChildname -eq "Full"} |
3
Select PSChildName, Version | Sort-Object -Property Version -Descending)
Copied!
HINT: You can also put this script as a remote script block if you want to query the .NET versions installed across many servers.
Copy link