Por que não consigo importar o módulo PowerShell?

0

Por exemplo, eu usei o InstallModule TestModule, ele me fez perguntas e pressionei sim depois tentei Import-Module TestModule

Import-Module : The specified module 'TestModule' was not loaded because no valid module file was found in any
module directory.
At line:1 char:1
+ Import-Module TestModule
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (TestModule :String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
    
por user935 13.01.2018 / 08:59

0 respostas