Post to self: getting the directory where the CLR is installed in PowerShell

[System.Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()

 

will return a path like: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\

5 Comments

Comments have been disabled for this content.