【发布时间】:2020-03-10 04:23:01
【问题描述】:
我正在获取我需要的信息,但是当我去导出信息时,我得到了一个错误。
当我运行这段代码时:
get-process | Export-csv -Path "C:\export.csv" -NoTypeInformation
我收到此错误:
Export-csv : Access to the path 'C:\export.csv' is denied.
At line:1 char:14
+ get-process | Export-csv -Path "C:\export.csv" -NoTypeInformation
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
如何导出为 CSV?
【问题讨论】:
标签: powershell export export-to-excel access-denied export-csv