I have a big issue with ZCM10.1.1 installed on Windows 2003 when doing
scripted images.

It seems that the script is in "dos" format when downloading it and
Zenworks no longer runs dos2unix on it automatically?

The issue is that for some reason we have windows CRLF chars in the
script and bash can not parse that correctly. If I manually run a
"dos2unix" on zenAdvancedScript everything works just fine.

What to do?