Script Download: 22228.zip http://gallery.technet.microsoft.com/scriptcenter/How-to-get-Best-Practice-46c6fbcc
Best Practices Analyzer (BPA) is a server management tool that is available in Windows Server 2012. BPA can help administrators reduce best practice violations by scanning roles that are installed on managed servers that are running Windows Server 2012. This script is based on BPA PowerShell model to get specific BPA model result.
You can find more All-In-One Script Framework script samples at http://aka.ms/onescriptingallery