0

我正在使用 Windows 8.1。我正在尝试在另一个 Windows 8.1 上执行命令。通过使用 PowerShell(enter-pssession 或 invoke-command)。我通常有两种类型的错误消息:一种告诉我访问被拒绝,另一种告诉我我的防火墙不允许 HTTPS 异常。没有一台计算机是服务器。我已经尝试执行 Set-PSSessionConfiguration -ShowSecurityDescriptorUI -Name Microsoft.PowerShell 没有任何结果。

我已经尝试停用我的防火墙,并且已经将其他计算机添加到我的受信任主机列表中。

我总是在 enter-pssession 之后放置一个 IP 地址。这可能是问题的根源吗?

提前致谢 :)

PS 两台电脑都有 winrm、IIS 和 Apache。

4

1 回答 1

0

帮助中提供了开始使用远程处理所需的所有内容:

 PS> Get-Help about_Remote_TroubleShooting -ShowWindow

如果您不在域中,请查看此部分:

HOW TO CONNECT REMOTELY FROM A WORKGROUP-BASED COMPUTER
-------------------------------------------------------
[..]

When the local computer is not in a domain, the following procedure is required
for remoting.

1. Configure the computer for HTTPS transport or add the names of the
   remote computers to the TrustedHosts list on the local computer.
[..]
于 2014-10-23T08:47:16.773 回答