第3步
读取test.csv.
Get-Content D:\temp\test\test.csv
Cmdlet
New-Item cmdlet用于创建csv文件并将内容放入其中。
步骤1
在本例中,我们创建了一个名为test.csv的文件
在PowerShell ISE控制台中键入以下命令
New-Item D:\temp\test\test.csv -ItemType File
第2步
将内容添加到test.csv.
在PowerShell ISE控制台中键入以下命令
Set-Content D:\temp\test\test.csv 'Jack,59,20000'
日期:2019-08-20 13:51:03 来源:oir作者:oir