我試圖在兩個Windows 2016服務器之間創建一個PSSESSION,這兩個服務器都在同一個域中。 PSremoting已啓用並且Test-Wsman正常工作。 我想通過-credentials參數提供的目標計算機的本地管理帳戶在目標計算機上輸入遠程會話。但是,如果我使用域帳戶,它就會起作用。 所以:Powershell只與域帳戶的遠程處理
New-PSSession Targetmachine -Credential <credentials from domain\MemberOfLocalAdminGroup>
工作罰款,但
New-PSSession Targetmachine -Credential <credentials from targetmachine\localadmin>
不不。爲什麼?
在錯誤後者的結果:Connecting to remote server xxxxxxx failed with the following error message : WinRM cannot process the request. The following error with errorcode 0x8009030e occurred while using Kerberos authentication: There are currently no logon servers available to service the logon request.
最有可能的GPO將導致此 –