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.
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.
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.