Hi @w raspe ,
Thanks for your feedback and sharing. We're glad that the question is fixed now. Here's a short summary for the problem, we believe this will help other users to search for useful information more quickly. It's appreciated that you could click "Accept Answer" to the reply.
Problem/Symptom:
Copy .xml file to client computer with MDT, the script does not work.
Solution/Workaround:
Modify the script to the following example and the correct order inside MDT show as screenshot.
cd C:\Windows\Temp\Layout
*Import-StartLayout -LayoutPath C:\Windows\Temp\Layout\SMenu1.xml -MountPath $env:SystemDrive*
Thanks again for your time! Have a nice day!
Best regards,
Cherry