My Profile Photo

[Doug Finke@dfinke]

Researching the optimal; Implementing the practical

Author of 'PowerShell for Developers'

Import-Html Use PowerShell to Export Html Tables to Excel

Added a new feature to my PowerShell Excel Module, Import-Html. Provide the URL of the page that has the table html tag and the index, starting at 0, identifying the table in the HTML to return.

It locates the table, grabs the headers if present (or creates them on the fly) and finally exports them directly to and Excel spreadsheet.

Get the Module

Grab the module from either the PowerShell Gallery or GitHub.