3

在执行 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)

谁能帮我解决这个问题??

4

1 回答 1

0

看起来就像错误所说的那样,您需要信任委托。我在网上找到了这些链接。

于 2011-06-29T20:41:32.893 回答