A configuration resource is a code unit that evaluates one specific server setting and changes it only when the current state differs from the desired state. Its test method detects drift; its set method corrects it. section 8.9
Treating SQL Server configuration as a one-time task leaves drift undetected. A manifest lists resources and their desired values, allowing configuration management to recheck servers periodically and automatically correct misconfiguration. section 8.9
Disabling xp_cmdshell
A DSC configuration evaluates whether xp_cmdshell is enabled every 30 minutes. If it is already disabled, the resource moves on; otherwise, its set method disables the feature across SQL Server hosts. section 8.9
