daily pastebin goal
94%
SHARE
TWEET

get installed .NET versions.ps1

ibi Jan 29th, 2016 (edited) 411 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ls "hklm:\SOFTWARE\Microsoft\NET Framework Setup\NDP" | clip | notepad
  2. # press ctrl-v once notepad opens. :)
  3.  
  4. # alternate version:
  5. ls "hklm:\SOFTWARE\Microsoft\NET Framework Setup\NDP" >$env:temp\dotnet_ver.txt
  6. ls "hklm:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" >>$env:temp\dotnet_ver.txt
  7. notepad $env:temp\dotnet_ver.txt
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top