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\

Published Friday, August 08, 2008 10:55 AM by svdoever
Filed under:

Comments

Friday, December 26, 2008 9:04 PM by nick_monchi

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

Leave a Comment

(required) 
(required) 
(optional)
(required)