Tag: Pester

  • How to remove all PowerShell DSC configuration documents (MOF files)?

    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…