Start-DscConfiguration fails with :
The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the logs
and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command
on the destination to analyze and configure the WinRM service: "winrm quickconfig".
+ CategoryInfo : ConnectionError: (root/Microsoft/...gurationManager:String) , CimException
+ FullyQualifiedErrorId : HRESULT 0x80338012
+ PSComputerName : DESKTOP-OJ9UH4H
- check that the hostname is connect.
- Check the required ports are open on the firewall.
see the preconfigured firewall settings named "Windows Remote Management".
- check WiRM is enabled. A quickfix, although limited to local host, run As Administrator: