gpt4 book ai didi

macos - macOS pwsh 出现错误 "no supported WSMan client library was found."

转载 作者:行者123 更新时间:2023-12-04 02:28:22 27 4
gpt4 key购买 nike

从 macOS 终端,当我执行时:

pwsh -command "Enter-PSSession myhost"
我从 PowerShell 收到错误消息:
Enter-PSSession: This parameter set requires WSMan, and no supported WSMan client
library was found. WSMan is either not installed or unavailable for this system.
我花了 2 个小时才找到解决方案。我要回答我自己的问题。

最佳答案

这是我所做的:

pwsh -Command 'Install-Module -Name PSWSMan'
sudo pwsh -Command 'Install-WSMan'

关于macos - macOS pwsh 出现错误 "no supported WSMan client library was found.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65808121/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com