Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Out-Gridview to Excel with column headers

$
0
0

I am running an external application that creates a Powershell Out-Gridview, perfoms sendkeys for ^a and ^c then pastes the values into a new instance of Excel.

Works fine, but would like to include the column headers as first row in Excel.

Is this possible, or should I just output to .csv then Invoke-Item?

Stan


Viewing all articles
Browse latest Browse all 8583

Trending Articles