8

While setting up an Azure DSC Extension for a VM in the Azure Portal (ARM) we find the form below. What goes in the highlighted text-field, what module is it asking me to specify? The xPSDesiredStateConfiguration module? That didn't work and I can't think of any other.

The entry must match the regular expression: "^[^\\]+\\[^\\]+$"

Hovering over the info button gives us: "Module defining the Configuration Function, and the Function in the format 'Module\Function'".

Portal DSC Extension Dialog

AllTradesJack
  • 2,762
  • 5
  • 25
  • 36

1 Answers1

8

This is where you reference your configuration, so in your DSC file you have something like this in the file named MyDSC.ps1:

Configuration PythonConf1
{   
    bla-bla-bla
}

And in that box you would have to input MyDSC.ps1\PythonCOnf1. More information: https://learn.microsoft.com/en-us/azure/virtual-machines/virtual-machines-windows-extensions-dsc-overview#azure-portal-functionality

4c74356b41
  • 69,186
  • 6
  • 100
  • 141