Preserving generated/compiled scripts

Hi,

Chef seems to always delete scripts that are generated/compiled with
providers such as powershell and windows_batch. Is there a way to make sure
these are not deleted so I can investigate issues?

Cheers,
Florian