gpt4 book ai didi

powershell - 无法通过Powershell连接到live @ edu

转载 作者:行者123 更新时间:2023-12-03 00:20:59 27 4
gpt4 key购买 nike

嗨,

我正在尝试通过以下命令使用powershell连接到live @ edu。

发射命令:

$ SessionNew = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://pod51002psh.outlook.com/powershell

错误:

[pod51002psh.outlook.com]连接到远程服务器失败,并显示以下错误消息:WinRM客户端无法
处理请求。目标计算机返回对该请求的空响应。有关更多信息,请参见
about_Remote_Troubleshooting帮助主题。
+ CategoryInfo:OpenError:(System.Manageme .... RemoteRunspace:RemoteRunspace)[],PSRemotingTransportExc

+ FullyQualifiedErrorId:PSSessionOpenFailed

任何人都可以建议我如何处理此类错误。

我正在处理以下系统环境。
Win 7,默认版本的powershell和IIS功能已启用。

提前致谢.....

最佳答案

该守则有效吗?

$Uri = "https://pod51002psh.outlook.com/powershell/"
$Credentials = Get-Credential
$SessionNew = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri $Uri -Credential $Credentials -Authentication Basic –AllowRedirection
Import-PSSession $SessionNew

关于powershell - 无法通过Powershell连接到live @ edu,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5376750/

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