Working in a Push scenario, I run Start-DscConfiguration to tell the LCM what configuration to run. Once I’ve done that, the LCM runs that configuration automatically based on the LCM settings.
Question is; how do I determine where the LCM is getting its configuration?
For example; if I am investigating a server and was not the person that ran Start-DscConfiguration, how do I find out where the configuration is?
Well, the LCM is going to keep a copy of the configuration in $env:SystemRoot\System32\Configuration\current.mof ; it’s not getting it from anywhere else after a push has happened.
If you want to know where the push originally came from, I don’t think the LCM keeps that information anywhere (but will double check this when I get a chance). You might be able to find something in the DSC event log, though.