Skip to content

Instantly share code, notes, and snippets.

@jbutters
Last active August 29, 2015 14:15
Show Gist options
  • Save jbutters/b0a1a1c59f0901f42244 to your computer and use it in GitHub Desktop.
Save jbutters/b0a1a1c59f0901f42244 to your computer and use it in GitHub Desktop.
check the dot net version
gci 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' | sort pschildname -des | foreach-object {$_.name; $_.GetValue("Version");}
<# credit http://stackoverflow.com/questions/3487265/powershell-script-to-return-versions-of-net-framework-on-a-machine#comment3650817_3491193#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment