开发者

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

开发者 https://www.devze.com 2023-03-31 23:25 出处:网络
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:

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

精彩评论

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