小编Den*_*ory的帖子

远程 PS 会话在非域服务器上失败

我正在尝试使用来自 Win8 主机(同一子网,它是本地 VM)的 PS 连接到非域加入的远程 Win2008R2 服务器。尝试了我能找到的一切,没有任何效果。

服务器:

PS C:\Users\Administrator> winrm quickconfig
PS C:\Users\Administrator> enable-psremoting
Run Code Online (Sandbox Code Playgroud)

客户:

PS C:\scripts> $cred = get-credential -username "administrator" -message "Enter password"

PS C:\scripts> $sess = new-pssession -computername 10.10.106.2 -credential $cred -authentication default
new-pssession : [10.10.106.2] Connecting to remote server 10.10.106.2 failed with the following error message : The
WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client
computer is not joined to a domain, then …
Run Code Online (Sandbox Code Playgroud)

powershell

15
推荐指数
2
解决办法
8万
查看次数

标签 统计

powershell ×1