Powershell导出到.csv文件错误
您在sqlserver提供程序上,该提供程序不允许您创建文件。召唤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
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