询问者
server2016无法使用install-module

问题
全部回复
-
你好,
我测试了一下,以下方法可以成功安装:
以管理员身份打开powershell,依次输入以下命令:
> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
> Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force> Install-Module posh-ssh
另外,请保证你的机器可以访问互联网。
感谢您的时间!
Best Regards,
Anne
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com. -
你好,
请参考以下步骤使用本地文件安装powershell module:
可以通过下述方法查看$env:PSModulePath value:
感谢您的时间!
Best Regards,
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.