在执行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)
有人能帮我解决这个问题吗?