I’m currently working on some DSC for our test server.
At the moment, my plan is to set the LCM to run in ApplyAndAutoCorrect mode, making sure to install certain images if they are not already there.
However, because this is a test server, we use it for much more than just these images. We are also using it to test things such as new domain names, azure AD connect, etc.
If I use ApplyAndAutoCorrect, I know that my images will always be present and created exactly as I want them, even if the files are accidentally deleted.
My question is, will ApplyAndAutoCorrect also delete changes made, such as adding other VM’s to the server, or adding more folders to the directories where it is applied?
If this is the case, then I’ll probably just have to create scripts to re-build the VM’s rather than force them to be created and present through DSC on the server.
Thank you very much!