Recently I got question from one developer that uses DSC about DSC configuration documents (MOF files) that are used for current configuration and he did not believe me that MOF file for current configuration is just a file in C:\Windows\System32\Configuration directory.

I would like to present you a simple piece of code that shows you MOF files and process how to remove them. It is possible to remove them using cmdlet Remove-DscConfigurationDocument or you can simply delete them. Remove- …

Read More