Wednesday, June 8, 2016

Find the .net framework version using powershell

Posted By: The Funky Tech Guy - 5:20:00 AM


& Comment

As you may have figured out by now there is no quick and easy way to find the .NET framework version currently installed on your server.
Here is a quick and simple way.


Copy and paste the script below into a powershell window and press ENTER. Thats it.

Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse |
Get-ItemProperty -name Version,Release -EA 0 |
Where { $_.PSChildName -match '^(?!S)\p{L}'} |
Select PSChildName, Version, Release



Copy the contents of the script above and place it in notepad, then save it as filename.ps1.  To use you simply call the file. See below


I hope this has been informative for you.

About The Funky Tech Guy

The Funky Tech Guy is a publication/blog that comprises primarily of articals and how tos relating to Information Technology.I have been in the IT industry since 2001 and can easliy say that IT is my passion. The primary focus of this site is to share some of the knowledge and experiences I've gained.


Copyright © 2013 The Funky Tech Guy ™ is a registered trademark.

Designed by Templateism . Built with Blogger Templates .