microsoft / DSCEA

DSC Environment Analyzer (DSCEA) is a simple implementation of PowerShell Desired State Configuration that uses the declarative nature of DSC to scan systems in an environment against a defined reference MOF file and generate compliance reports as to whether systems match the desired configuration.
https://microsoft.github.io/DSCEA
Other
197 stars 41 forks source link

Start-DSCEAscan issue with large (100+) servers #77

Open keschnei42 opened 3 years ago

keschnei42 commented 3 years ago

When Start-DSCEAscan is run against either a large (100+) server text file or using a -path containing (100+) servers mof files the following error is often displayed as some of the servers LCM are in use:

WARNING: Cannot invoke the Test-DscConfiguration cmdlet. The Consistency Check or Pull cmdlet is in progress and must return before Test-DscConfiguration can be invoked. Use -Force option if that is available to cancel the current operation. WARNING: Cannot validate argument on parameter 'Id'. The argument is null. Provide a valid value for the argument, and then try running the command again.