Question
You run the Register-AzureRmAutomationDscNode command in your company's environment.
You need to make sure that your company's test servers remain correctly configured, regardless of configuration drift.
Solution: You set the -ConfigurationMode parameter to ApplyOnly.
Does the solution meet the goal?
- A. Yes
- B. No Correct
Explanation
With ApplyOnly, DSC applies the configuration once and then does not check for drift from the configured state, so drifted test servers would not be corrected. Only ApplyAndAutoCorrect reapplies the configuration when drift is detected.