April 26, 2024
powershell

How can you check .Net Framework Version on Powershell

How can you check .Net Framework Version on Powershell.

Powershell is a powerful tools to learn most of thinks on windows. You can learn .net framework version with powershell just one command.

The command is below you can learn exact version of .net framework on Windows Server or Windows 10 and Windows 11

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

Bir yanıt yazın