Closed mgreenegit closed 2 years ago
Is it the copy or is it when the MOF is read and it sees multiple instances of a Resource? A screenshot/copy of the error message would help greatly.
If it's the DSC resource seen several time, that's indeed an issue I've seen, but it comes from PSDSC [DscClassCache]::ImportInstances()
.
This issue has not been updated within 14 days
needs investigation to understand the issue. for now marking as blocker.
It isn't clear why this is happening, but custom resources are being copied once per resource instance and so after the first, -Force is required or Copy-Item will return that the files already exist.