I have the following problems with my custom resource I am currently building:
I am installing an application that restarts the WMI service. Pretty stupid, because DSC doesn’t like that. Setup continues, but when I run Start-DSCConfiguration -Wait -Verbose -Path %whatever% the whole thing stops as soon as WMI is restarted. I believe this is just an optical thing, DSC should, after a while check that everything is alright, right?
that same application needs to be installed as a user, not as system. How would I go and write my resource to impersonate a user? Can I use a Start-Process with credentials? Would that already be enough or is there a better way to do it?
Thank you all!