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 に答える