【发布时间】:2012-11-07 09:31:42
【问题描述】:
我有 Windows XP x86 和 Powershell 2.0。
我打开 Powershell 控制台,执行 Enter-PSSession 命令连接 Windows 2008 Server。
我想远程执行 Get-WSManCredSSP 命令,但出现错误访问被拒绝。
PS C:\Documents and Settings\myuser> Enter-PSSession -Computername servermoss -Credential servermoss\installeruser
[servermoss]: PS C:\Users\installeruser\Documents> Get-WSManCredSSP -Verbose
Get-WSManCredSSP : Access is denied.
+ CategoryInfo : PermissionDenied: (:) [Get-WSManCredSSP], UnauthorizedAccessException
+ FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.WSMan.Management.GetWSManCredSSPCommand
Access is denied.
+ CategoryInfo :
+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.GetWSManCredSSPCommand
解决方案:WinRM 2.0 PowerShell 不支持 CredSSP
有什么建议吗?
【问题讨论】:
标签: powershell remoting credentials unauthorizedaccessexcepti