Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何将输出从powershell导出到csv?_Powershell_Csv - Fatal编程技术网

如何将输出从powershell导出到csv?

如何将输出从powershell导出到csv?,powershell,csv,Powershell,Csv,我在两列中有一个较长的powershell输出: edgeitem #text 1.1 562 1.2 ben 1.3 smith 1.4 play.inc 2.1 791 2.2 tom 2.3 jones 2.4 jm pty ltd .

我在两列中有一个较长的powershell输出:

edgeitem           #text
1.1              562
1.2              ben
1.3              smith
1.4              play.inc 
2.1              791
2.2              tom
2.3              jones
2.4              jm pty ltd
 .                  .
 .                  .
 .                  .
 .                  .

如何将文本列中的所有值导出到csv文件中的单个列?我看过Export.csv,但它要求输入对象,我不知道如何将此列称为对象。如果有帮助的话,输出是从一堆xml文件中提取的。

我想你可能想探索导出Csv
获取帮助导出Csv
这是一个可以帮助你实现的功能