The script is available for download from http://gallery.technet.microsoft.com/Check-and-Disable-the-f28403cc. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This sample can help you to resolve the issue "'OnlyUseLatestCLR' breaks Exchange on SBS 2011 Standard" which is described in KB 2616444. It shows how to check and disable the .Net Framework "OnlyUseLatestCLR" setting on the Exchange Servers by using PowerShell script.
The "OnlyUseLatestCLR" registry value can be used in compatibility testing scenarios when developing managed code applications, but should never be created on a production server. "OnlyUseLatestCLR" with .Net Framework 4.0 installed forces Exchange 2010 managed code to execute in the 4.0 CLR, which it was not designed to do. To resolve this issue, you can use this script to check and disable the .Net Framework "OnlyUseLatestCLR" setting on the Exchange Servers.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery