Q. How can I detect drift between an applied PowerShell DSC and the current state of a machine?
A. The simplest way to check for drift of configuration between the applied configuration and the current state is to run Test-DscConfiguration, which will return true if the configuration is correct or false if there is configuration drift.