Question
SQLPS
- G
- Auteur du sujet
- Hors Ligne
- Nouveau membre
-
Réduire
Plus d'informations
- Messages : 9
- Remerciements reçus 0
il y a 10 ans 10 mois #19731
par G
Bonjour,
Je rencontrer un problème lorsque j'essai d'importer le module sqlps.
Import-Module sqlps
Import-Module : The specified module 'sqlps' was not loaded because no valid module file was found in any module directory.
At line:1 char:1
+ Import-Module sqlps
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (sqlps: String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
J'éxecute cette commande sur un active directory 2008 R2 Entreprise et j'ai aussi installer sur cette AD un serveur SQL 2008 R2.
Je rencontrer un problème lorsque j'essai d'importer le module sqlps.
Import-Module sqlps
Import-Module : The specified module 'sqlps' was not loaded because no valid module file was found in any module directory.
At line:1 char:1
+ Import-Module sqlps
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (sqlps: String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
J'éxecute cette commande sur un active directory 2008 R2 Entreprise et j'ai aussi installer sur cette AD un serveur SQL 2008 R2.
Connexion ou Créer un compte pour participer à la conversation.
- Laurent Dardenne
- Hors Ligne
- Modérateur
-
Réduire
Plus d'informations
- Messages : 6311
- Remerciements reçus 68
il y a 10 ans 10 mois #19736
par Laurent Dardenne
Tutoriels PowerShell
Réponse de Laurent Dardenne sur le sujet Re:SQLPS
Vérifie si le nom du répertoire hébergeant le module est bien renseigné dans $env:PSModulePath .
Voir aussi en plus verbeux :
[code:1]
Trace-Command PathResolution {Import-Module sqlps} -PSHost
[/code:1]
Voir aussi en plus verbeux :
[code:1]
Trace-Command PathResolution {Import-Module sqlps} -PSHost
[/code:1]
Tutoriels PowerShell
Connexion ou Créer un compte pour participer à la conversation.
- G
- Auteur du sujet
- Hors Ligne
- Nouveau membre
-
Réduire
Plus d'informations
- Messages : 9
- Remerciements reçus 0
il y a 10 ans 10 mois #19742
par G
Je n'ai pas réussi à trouver le module dans les répertoires, je n'ai pas trouver le module du tout sur le serveur.
La seul chose que j'ai réussi à trouver est le sqlps.exe dans C:\Program Files\Microsoft SQL Server\100\Tools\Binn\Redist\
Je pensai que
'en installant le serveur SQL 2008 R2 le module ce serais installer avec, mais la j'ai l'impression qu'il me manque le module.
Avez-vous une idée d'où je pourrais le trouver ?
Et voila le résultat de la commande:
[code:1]Trace-Command PathResolution {Import-Module sqlps} -PSHost
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Users\nguerraz\Documents\WindowsPowerShell\Modules\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Users\nguerraz\Documents\WindowsPowerShell\Modules\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : ERROR: Item does not exist: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
Import-Module : The specified module 'sqlps' was not loaded because no valid module file was found in any module directory.
At line:1 char:31
+ Trace-Command PathResolution {Import-Module sqlps} -PSHost
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (sqlps:«»String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
[/code:1]<br><br>Message édité par: Nicolas.G, à: 18/05/15 16:43
La seul chose que j'ai réussi à trouver est le sqlps.exe dans C:\Program Files\Microsoft SQL Server\100\Tools\Binn\Redist\
Je pensai que
'en installant le serveur SQL 2008 R2 le module ce serais installer avec, mais la j'ai l'impression qu'il me manque le module.
Avez-vous une idée d'où je pourrais le trouver ?
Et voila le résultat de la commande:
[code:1]Trace-Command PathResolution {Import-Module sqlps} -PSHost
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Users\nguerraz\Documents\WindowsPowerShell\Modules\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Users\nguerraz\Documents\WindowsPowerShell\Modules\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : ERROR: Item does not exist: Users\nguerraz\Documents\WindowsPowerShell\Modules
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psd1
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.psm1
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.cdxml
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.xaml
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll\" to PROVIDER-INTERNAL path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Resolving MSH path \"C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll\" to MSH path
DEBUG: PathResolution Information: 0 : Filter:
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : PROVIDER path: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Wildcard matching is being performed by the engine.
DEBUG: PathResolution Information: 0 : EXPANDING WILDCARDS
DEBUG: PathResolution Information: 0 : INCLUDE filter present: False
DEBUG: PathResolution Information: 0 : EXCLUDE filter present: False
DEBUG: PathResolution Information: 0 : NOGLOB parameter present: False
DEBUG: PathResolution Information: 0 : Path contains wildcard characters: False
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Path is DRIVE-QUALIFIED
DEBUG: PathResolution Information: 0 : DRIVE-RELATIVE path: Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
DEBUG: PathResolution Information: 0 : Drive: C
DEBUG: PathResolution Information: 0 : Provider: Microsoft.PowerShell.Core\FileSystem
DEBUG: PathResolution Information: 0 : RESOLVED PATH: C:\Windows\system32\WindowsPowerShell\v1.0\Modules\sqlps\sqlps.dll
Import-Module : The specified module 'sqlps' was not loaded because no valid module file was found in any module directory.
At line:1 char:31
+ Trace-Command PathResolution {Import-Module sqlps} -PSHost
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (sqlps:«»String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
[/code:1]<br><br>Message édité par: Nicolas.G, à: 18/05/15 16:43
Connexion ou Créer un compte pour participer à la conversation.
- Laurent Dardenne
- Hors Ligne
- Modérateur
-
Réduire
Plus d'informations
- Messages : 6311
- Remerciements reçus 68
il y a 10 ans 10 mois #19743
par Laurent Dardenne
Tutoriels PowerShell
Réponse de Laurent Dardenne sur le sujet Re:SQLPS
Nicolas.G écrit:
Peut -être ici .Avez-vous une idée d'où je pourrais le trouver ?
Tutoriels PowerShell
Connexion ou Créer un compte pour participer à la conversation.
- G
- Auteur du sujet
- Hors Ligne
- Nouveau membre
-
Réduire
Plus d'informations
- Messages : 9
- Remerciements reçus 0
Temps de génération de la page : 0.050 secondes
- Vous êtes ici :
-
Accueil
-
forum
-
PowerShell
-
Entraide pour les débutants
- SQLPS