Quantcast
Channel: PowerShell General
Viewing all articles
Browse latest Browse all 10624

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 10624

Latest Images

Trending Articles



Latest Images