所以我在服务器上工作,我已经在上面安装了 powershell,当我尝试运行这个命令时
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $cred -Authentication Basic -AllowRedirection
我收到以下错误
New-PSSession:此参数集需要 WSMan,未找到支持的 WSMan 客户端库。此系统未安装或不可用 WSMan。
**尝试使用这些命令安装 WSman 模块仍然没有修复它
安装-模块-名称 PSWSMan -Force
安装-WSMan**
Name Value
---- -----
PSVersion 7.1.4
PSEdition Core
GitCommitId 7.1.4
OS Linux 4.18.0-305.10.2.el8_4.x86_64 #1 SMP Mon J…
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
我是一个完整的初学者,任何指导都会非常有帮助