我正在尝试针对远程计算机运行我的 DSC 配置并最终出现以下错误
VERBOSE: Perform operation 'Invoke CimMethod' with following parameters, ''methodName' =
SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' =
root/Microsoft/Windows/DesiredStateConfiguration'.
The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client
computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the
TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts
list might not be authenticated. You can get more information about that by running the following command: winrm help
config.
+ CategoryInfo : NotEnabled: (root/Microsoft/...gurationManager:String) [], CimException
+ FullyQualifiedErrorId : HRESULT 0x803380e4
+ PSComputerName : vishtest.timmons.com
VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 0.169 seconds
服务器运行并配置了 WinRM 服务以通过 HTTPS 运行。客户端机器可以使用 Enter-PSSession 命令成功连接到远程机器。
Enter-PSSession -computerName vishtest.timmons.com -credential $credential -UseSSL
关于我可能在这里遗漏的任何想法?