Pushing DSC configuration to an Azure VM

I had described in an earlier article that Desired State Configuration requires WinRM listeners for pushing the configuration to target systems. By default, WinRM is configured to listen on ports 5985 (HTTP) and 5986 (HTTPS). When deploying Windows VMs on Azure, you will find that the default WinRM listener is SSL (HTTPS) based and has a random public port number assigned to it. We use the Cloud Service DNS name along with the random port number assigned to the WinRM HTTPS listener.

For example, here is one of the Azure VMs I created. This is running Windows Server 2012 R2 and has the WinRM HTTPS listener created.

This is it for now. In a later article, I will show how to deploy HTTP listeners and use them for pushing DSC configuration.

Share on: