Created
April 26, 2015 01:18
-
-
Save DinisCruz/ea3db82d68714ae185ec to your computer and use it in GitHub Desktop.
Misc Azure PowerShell scripts (executed via Kudu)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$regHive = [Microsoft.Win32.RegistryHive]::LocalMachine | |
$regView = [Microsoft.Win32.RegistryView]::Registry32 | |
$regKey = [Microsoft.Win32.RegistryKey]::OpenBaseKey($regHive, $regView) | |
$frameworkPath = $regKey.OpenSubKey("SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").GetValue("InstallPath") | |
$frameworkPath | |
#returns D:\Windows\Microsoft.NET\Framework\v4.0.30319\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment