I have an ARM template with a Powershell DSC extension section running the following DSC:
Configuration Name
{
Node MachineName
{
#IIS Role
WindowsFeature IIS
{
Name = “Web-Server”
Ensure = “Present”
}
#IIS GUI
WindowsFeature WebServerManagementConsole
{
Name = "Web-Mgmt-Console"
Ensure = "Present"
}
}
}
This runs fine and as expected. The problem occurs if I try to change anything (e.g. add a new WindowsFeature or change an Ensure option to "Absent"). These changes are not reflected on the server.
Is there a flag or option to enable ARM to push DSC changes to the server?