执行PowerShell远程脚本时出现如下错误
Invoke-Command : Exception calling "ToXmlString" with "1" argument(s): "The requested operation cannot be completed. Th
e computer must be trusted for delegation and the current user account must be configured to allow delegation.
执行中断的确切代码行如下:
$rsa = New-Object System.Security.Cryptography.RSACryptoServiceProvider
$key = $rsa.ToXmlString($true)
有人可以帮我解决问题吗?
答案 0 :(得分:0)