Finding Installed .Net Versions
There are a few different ways to find what versions of the .Net framework you have installed. I did a bit of searching and it seems as though most applications and scripts use the registry but some query the file system as well. You will also find many of the examples online break as version 4 of the .Net Framework introduced a new registry key structure, and none of them used PowerShell classes (which i have been wanting to play around with). With that in mind, i whipped up a quick PowerShell module and threw it on GitHub. I also uploaded it to the PowerShell Gallery and it can be used as follows:
If you have any suggestions, please be sure to log an issue and as always, let me know what you think in the comments.