Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.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_Ssms_Powershell 2.0 - Fatal编程技术网

Powershell导出到.csv文件错误

Powershell导出到.csv文件错误,powershell,ssms,powershell-2.0,Powershell,Ssms,Powershell 2.0,您在sqlserver提供程序上,该提供程序不允许您创建文件。召唤 PS SQLSERVER:\sqlregistration> Get-ChildItem 'SQLSERVER:\SQLREGISTRATION' -Recurse | export-csv reorder.csv Export-Csv : Cannot open file because the current provider (SqlServer) cannot open a file . At line:1 cha

您在sqlserver提供程序上,该提供程序不允许您创建文件。召唤

PS SQLSERVER:\sqlregistration> Get-ChildItem 'SQLSERVER:\SQLREGISTRATION' -Recurse | export-csv reorder.csv
Export-Csv : Cannot open file because the current provider (SqlServer) cannot open a file
.
At line:1 char:65
+ Get-ChildItem 'SQLSERVER:\SQLREGISTRATION' -Recurse | export-csv <<<<  reorder.csv
    + CategoryInfo          : InvalidArgument: (:) [Export-Csv], PSInvalidOperationExcep
   tion
    + FullyQualifiedErrorId : ReadWriteFileNotFileSystemProvider,Microsoft.PowerShell.Co
   mmands.ExportCsvCommand

您在sqlserver提供程序上,该提供程序不允许您创建文件。召唤

PS SQLSERVER:\sqlregistration> Get-ChildItem 'SQLSERVER:\SQLREGISTRATION' -Recurse | export-csv reorder.csv
Export-Csv : Cannot open file because the current provider (SqlServer) cannot open a file
.
At line:1 char:65
+ Get-ChildItem 'SQLSERVER:\SQLREGISTRATION' -Recurse | export-csv <<<<  reorder.csv
    + CategoryInfo          : InvalidArgument: (:) [Export-Csv], PSInvalidOperationExcep
   tion
    + FullyQualifiedErrorId : ReadWriteFileNotFileSystemProvider,Microsoft.PowerShell.Co
   mmands.ExportCsvCommand