开发者

Add a header to a .csv column that already has data

I have a .csv file that has data in a column, I need that column to have a header. I can not figure out how to get a header in the column开发者_StackOverflow中文版.


This should work:

import-csv test.csv -Header "Name" | export-csv test.csv -NoTypeInformation
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜