# Once the scan is finished we get the results and export it to a CSV list of BPAs. # Let's get it and store it in a variable. # First we need to know the Model ID for Hyper-V, (it's "Microsoft/Windows/Hyper-V") (Note: One can copy/paste from #region thru #endregion into the Powershell ISE window, press F5, and execute all the commands below at once to produce the output file.) Use PowerShell's Get-BPAModel -ModelID commandĪnd here are the PowerShell commands to do the work:.To be able to identify the correct BPAs you'll need the BPA model ID: Get the BPA model IDs for the Role Get-BPAModel.Install the Role Install-WindowsFeature.Were one to want a reference list of BPAs one could certainly take a temporary server, say a virtual machine, and install all the roles of interest and then use the detail below in a loop to output all the desired BPA lists. Finally, these methods will not work unless the BPA model components are installed for a role a role has to be installed for the BPAs to provide test descriptions and results. It's also important to remember that over time as BPA related binaries are updated over the lifetimes of the products, new tests will be added and some older ones may be retired so repeating the processes below at set intervals is probably wise so as to maintain the latest and greatest BP lists. There are no master lists of BPA tests for Microsoft Windows Server roles. These GUI reported BPA notifications are useful but they don't list all the possible tests the BPA can perform tests for. BPA GUI outputs are found on the Dashboard page of the Server Manager interface and will show BPA results for any role for any server listed in the Local Server or All Servers groups in the left Navigation column. And, yes, the BPAs exist in the 2016 editions of Windows Server. If you wish to investigate the original BPA version released with 2008 R2 please start here. In this post I'm only going to be demonstrating Windows Server 20 R2 BPAs and how to generate a Best Practice list using PowerShell. Best Practice Analyzers (BPAs) BPAs first came on the scene with the release of Windows Server 2008 R2. If you are interested in requesting a RAP as a Service for eligible Microsoft products, please see your Technical Account manager (TAM). The main Services page where all of the RAPs are defined is here and the details for Failover Cluster & Hyper-V RAPaaS are here: The Cluster Validation tool also includes some tests for Hyper-V Clustering.) Also, I want to make sure everyone is aware of the Microsoft RAP as a Service offering which in a sense are a larger Best Practice definition engagement between Microsoft Premier Field Engineers and customers where deep-dive Best Practice analysis is performed. The Failover Cluster feature includes a much more robust set of tests and BP recommendations produced by the Failover Cluster Validation tool. ( Note: I also support Failover Cluster and would have included that here, but, the Failover Cluster feature does not have a set of BPAs like the ones this article speaks to (BPAs are only for Roles). There is a much more detailed and in-depth TechNet article here about the BPAs: Run Best Practices Analyzer Scans and Manage Scan Results. ( Note: You can use these same methods for all the other Best Practice features in the later Windows Server Products.) This post will contain information only specific to Hyper-V. Goal of this Post Today I'd like to impart to you how you can collect a few of what Microsoft thinks are important best practices around Hyper-V. This blog post brought to you by eighteen year veteran Microsoft Premier Field Engineer David Morgan. First published on TechNet on Oct 10, 2016
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |