Change out the usage of MOFs and calling powershell to just using Invoke-DscResource.
Add in the MOF to set disable and enable refresh mode. Add in the wait for configuration to finish as well.
This should also fix https://github.com/msutter/puppet-dsc/issues/1 when ordering is not explicitly used since there are no mof files generated.
It might be good to split this one into a couple of tickets.
Risk assessment: high
Risk probability: high (any use of DSC module could expose issue)
Risk severity: high (could completely block a user from using DSC module)
Test layer: acceptance
Acceptance test required (Any test case in FM-2622 can cover this ticket.)