Skip to content

Instantly share code, notes, and snippets.

@johlju
Created July 30, 2019 11:31
Show Gist options
  • Save johlju/b44658de63cf8b454051bcabf9083034 to your computer and use it in GitHub Desktop.
Save johlju/b44658de63cf8b454051bcabf9083034 to your computer and use it in GitHub Desktop.
Set LCM DebugMode to ForceModuleImport
Configuration SetDebugModeForceModuleImport {
Node localhost
{
LocalConfigurationManager
{
DebugMode = 'ForceModuleImport'
}
}
}
SetForceImport -OutputPath C:\DSC -Verbose
Set-DscLocalConfigurationManager -Path C:\Dsc
Get-DscLocalConfigurationManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment