Details of the scenario you tried and the problem that is occurring
I am already using the module since version 1.4.0.0
I didn't change the configuration, and only upgraded the module to version 1.5.0.
Since then the MOF compilation is throwing an error.
When I change the module version back to 1.4.0 (without any other change), the compilation is working fine again.
Verbose logs showing the problem
VERBOSE: Result found for xSystemSecurity
PSDesiredStateConfiguration\Node : The term 'xIEEsc\xIEEsc' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At New-DscMof.ps1:140 char:5
+ Node $AllNodes.NodeName {
+ ~~~~
+ CategoryInfo : ObjectNotFound: (xIEEsc\xIEEsc:String) [PSDesiredStateConfiguration\node], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException,PSDesiredStateConfiguration\node
Compilation errors occurred while processing configuration 'New-DscConfiguration'. Please review the errors reported in error stream and modify your configuration code appropriately.
+ CategoryInfo : InvalidOperation: (New-DscConfiguration:String) [], InvalidOperationException
+ FullyQualifiedErrorId : FailToProcessConfiguration
Or when I comment out the xIEEsc section I have the following error message:
VERBOSE: Result found for xSystemSecurity
PSDesiredStateConfiguration\Node : The term 'xUAC\xUac' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At New-DscMof.ps1:140 char:5
+ Node $AllNodes.NodeName {
+ ~~~~
+ CategoryInfo : ObjectNotFound: (xUAC\xUac:String) [PSDesiredStateConfiguration\node], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CommandNotFoundException,PSDesiredStateConfiguration\node
Compilation errors occurred while processing configuration 'New-DscConfiguration'. Please review the errors reported in error stream and modify your configuration code appropriately.
+ CategoryInfo : InvalidOperation: (New-DscConfiguration:String) [], InvalidOperationException
+ FullyQualifiedErrorId : FailToProcessConfiguration
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Here is the Datum configuration:
xSystemSecurity:
xIEEsc:
- UserRole: Administrators
IsEnabled: False
xUac:
Setting: AlwaysNotify
The operating system the target node is running
NA because the problem appears during the creation of the MOF.
Version and build of PowerShell the target node is running
NA because the problem appears during the creation of the MOF.
Version of the DSC module that was used
1.5.0