与Powershell远程问题

我正在configuration一个新的networking,我需要启用Powershell远程处理。 我在Active Directory域中,所有客户端都连接到域。

我能够成功地运行远程命令(Get-Process -Computername A1P1),但是我不能做一对一的远程处理(new-pssession -cn A1P1)

我已采取的步骤:

  • winrm quickconfig
  • 启用,PSRemoting
  • GPOconfiguration远程处理
  • 启用RemoteRegistry
  • 在pipe理站和客户端上将TrustedHosts设置为*

winrm服务正在运行,端口已打开。

有小费吗?

编辑:我只是意识到我曾经能够远程连接到我的服务器,但我现在不能。 这是errorId: WinRMOperationTimeout,PSSessionOpenFailed

编辑2:这是一个GPO的问题,我试图禁用它和gpupdating和侦听器现在工作正常(后启用PSRemoting)。 现在我需要find导致问题的设置…