title: Getting the functionality of the outdated metrics powertool in VS2017?
body: <p>In recent earlier versions of Visual Studio (i.e.: earlier than VS2017), Microsoft released a separate code metrics powertool that could be run through the command line and generate an XML containing certain code metrics (such as lines of code, complexity, and maintainability) for your codebase. <a href="https://blogs.msdn.microsoft.com/camerons/2011/01/28/code-metrics-from-the-command-line/" rel="noreferrer">Details about the tool here.</a></p>
  
  <p>As far as I can tell, they have not released a version of this tool that works based on a VS2017 install. While the VS2017 IDE does contain a tool to generate and even export these metrics (under Analyze->Calculate Code Metrics), I can't figure out a way to use it via the command line so that the process can be automated.</p>
  
  <p>Is there a way to do this without 3rd party software?</p>