Tag: 导入模块

Import-Module posh-docker无法正常工作

在以pipe理员身份运行时, Import-Module posh-docker在Power Shell上不能工作 我试图为当前的PowerShell启用自动完成的命令,但得到低于错误。 executionpolicy已经设置为RemoteSigned。 我的系统中有Docker Toolbox。 Import-Module : The specified module 'posh-docker' was not loaded because no valid module file was found directory. At line:1 char:1 + Import-Module posh-docker + ~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ResourceUnavailable: (posh-docker:String) [Import-Module], FileNotFoundExc + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand