2012-02-17 8 views
1
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 
+0

Quelle est la question? – Shoban

Répondre

4

Vous êtes sur le fournisseur sqlserver qui ne vous permettra pas de créer des fichiers. appelez

Get-ChildItem 'SQLSERVER:\SQLREGISTRATION' -Recurse | export-csv C:\reorder.csv 
Questions connexes