I\'d like to use .NET in some PowerShell scripts I\'m about to write -- how do I know/declare which version of .NET I\'m dealing with when these scripts run?
And is
PS > [Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory() C:\Windows\Microsoft.NET\Framework\v2.0.50727\