guitarrapc / GraniResource

PowerShell Desired State Configuration Resources for real production workload.
https://www.powershellgallery.com/packages/GraniResource
MIT License
44 stars 8 forks source link

Sporadic error after "Test-DscConfiguration" #69

Closed Denis1983 closed 7 years ago

Denis1983 commented 7 years ago

Sporadic error after "Test-DscConfiguration"

VERBOSE: [FORS559A]: LCM: [ FAILEDTest ] Completed processing test operation. The operation failed. Importing module Grani_ScheduleTask failed with error - Cannot add type. The type name 'EnsureType' already exists.

guitarrapc commented 7 years ago

Thank you for reporting. It seems like instance already exists and access to Add-Type. Will check it and get you back in next week. (Sorry I'm on business trip for this week.)

guitarrapc commented 7 years ago

I've published 3.7.8.3 with fix for you. Seems not happen anymore at my lab.

image

Please check it.

https://www.powershellgallery.com/packages/GraniResource/3.7.8.3