Azure / Azure/AzureStack-Tools
"Import-Module ..\" is not correct
- Lenguaje dominante
- PowerShell
- Estrellas
- 260
- Forks
- 283
- Merge medio
- 2 h 11 min
- PR fusionados (30 d)
- 1
Descripción
**In https://github.com/Azure/AzureStack-Tools/blob/master/Identity/README.md**
Import-Module ..\Connect\AzureStack.Connect.psm1
Import-Module ..\Identity\AzureStack.Identity.psm1
**importing the above modules throw below exception**
Import-Module : The specified module '..\Connect\AzureStack.Connect.psm1' was not loaded because no valid module file was found in any module directory.
At line:1 char:1
+ Import-Module ..\Connect\AzureStack.Connect.psm1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ResourceUnavailable: (..\Connect\AzureStack.Connect.psm1:String) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
**- it should be with single "."**
Import-Module .\Connect\AzureStack.Connect.psm1
Import-Module .\Identity\AzureStack.Identity.psm1
Guía de contribución
Línea de trabajo
Open Identity/README.md and review the Import-Module examples for the Connect and Identity modules. Update the documented paths to use .\ instead of ..\, then verify that both examples match the paths shown in the issue.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- powershell
- Área
- documentation
- Tipo de issue
- Documentación
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 45/100