I am trying to run my DSC configuration against a remote machine and end up with the following error
The command I am running
Start-DscConfiguration -machineName [myservername] -wait -verbose
The error I am receiving
VERBOSE: Perform operation ‘Invoke CimMethod’ with following parameters, ‘‘methodName’ =
SendConfigurationApply,‘className’ = MSFT_DSCLocalConfigurationManager,‘namespaceName’ =
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
+ 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
The server has the WinRM service running and configured for running over HTTPS. The client machine can connect to the remote machine successfully with the Enter-PSSession command.
Enter-PSSession -computerName vishtest.timmons.com -credential $credential -UseSSL
Any ideas on what I could be missing here?