Skip to content

Instantly share code, notes, and snippets.

@snobu
Created August 21, 2014 11:01
Show Gist options
  • Save snobu/36232357854eb332bb7f to your computer and use it in GitHub Desktop.
Save snobu/36232357854eb332bb7f to your computer and use it in GitHub Desktop.
ConfigurationMode
ConfigurationMode defines how the DSC client operates. Â There are three valid values:
Apply
ApplyAndMonitor
ApplyAndAutoCorrect
(NOTE: Â These descriptions of functionality are based on limited testing – the TechNet documentation is not up to date yet, but should be in the near future.)
Apply will apply the configuration once and after a successful run is logged, it will stop attempting to apply configuration or checking the configuration. Â ApplyAndMonitor will apply a configuration as in Apply, but will continue to validate that a node is configured as described. Â No corrective action will take place if there is configuration drift. Â Finally, ApplyAndAutoCorrect is what most of us think of when looking at DSC as a configuration management tool. Â This setting applies a configuration and checks it regularly. Â If configuration drift is detected, the configuration manager will attempt to return the machine to the desired state (see how I worked the product name in there..).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment