Bruce Adamczak

I have spent years working in perfmon, so I thought I would share some tips and tricks on the tool!

Windows 2012 Core Survival Guide – Running and viewing Best Practice Analyzer

Windows 2012 Core Survival Guide – Running and viewing Best Practice Analyzer

  • Comments 1
  • Likes

Learn about my 2012 Core Survival Guide here.

Running and viewing Best Practice Analyzer

 Listing the Best Practice Analyzer

 PowerShell Command:

 Get-BPAModel | format-table ID,name -autosize

 You will need to know the "ID" and the correct spelling in order to invoke the BPA.

 

 Invoking the Best Practice Analyzer

 You can run the Best Practice Analyzer using the Invoke-BPAModel cmdlet.

 PowerShell Command:

 Invoke-BPAModel Microsoft/Windows/FileServices

 In the output below notice the success attribute.  Use this attribute to determine if the analyzer ran completely.

 

 Getting the results of the BPA

 You can view the results of the Best Practice Analyzer using the Get-BPAResult cmdlet.

 PowerShell Command:

 get-BPAresult Microsoft/Windows/FileServices | export-csv bpaoutput.csv

 The results can also be displayed to the screen but often times it scrolls past the buffer.  To avoid this issue, use the export-csv command to place the output in an csv file.  This file is best reviewed using Excel.  The sample output below was opened using NotePad.exe for illustration purposes.

 

 I hope you found this useful.  Please leave me a comment.  Let me know if there are any core tasks you would like me to cover.

 Bruce

 

Comments
  • Thanks for the posts and the survival guide. I would be interested to know how often you encounter core installations when working on customer cases? Is core still seen as a version that needs to be avoided for compatibility reasons or are customers starting to see the benefit (more so than with 2008 core)?

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment