The first command creates a dictionary of parameters, and stores them in the $Params variable.
The second command compiles the DSC configuration named Config01.
The command includes the values in $Params for DSC configuration parameters.
Example 2: Compile an Azure DSC configuration in Automation with a new Node Configuration build version.
Similar to the first example, the first command creates a dictionary of parameters, and stores them in the $Params variable.
The second command compiles the DSC configuration named Config01.
The command includes the values in $Params for DSC configuration parameters.
It does not override the earlier existing Node Configuration by creating a new Node Configuration with the name Config01[<2>].<NodeName>.
The version number is incremented based on the existing version number already present.
Parameters
-AutomationAccountName
Specifies the name of the Automation account that contains the DSC configuration that this cmdlet compiles.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.