Here it is...

You can replace RUN/SHELL and append cmd /c cmd /k or start /w /b and it all give the same result

RUN "cmd /c " + Chr(34) + "\\s-netstorage\OfflineMigrationLog$\Tools\csccmd.exe /moveshare:\\" + $OLDSERVERNAME + "\" + $SHARENAME +"\" + @USERID + " \\" + $NEWSERVERNAME + "\" + $SHARENAME + "\" + @USERID + Chr(34)


Thank