Forum Discussion
oryxway390
Sep 23, 2022Brass Contributor
Copying files to devices through Intune does not work
Can I use Intune to copy files? Prepare a folder and add all the necessary files that you want to copy to managed devices. Next, create a cmd file with the instructions to copy all the files previo...
KurtBMayer
Sep 23, 2022Iron Contributor
Take a look at these articles on packaging IntuneWin apps to ensure you're bundling in everything you need and following all the steps.
Best Guide Intune Win32 App Deployment | Endpoint Manager
Relative File Paths in Powershell
It's okay to put things all in one directory if needed, but the second link has some tips on scripting you might want to consider. Instead of copying to a literal path of c:\temp you should try using relative paths or the $scriptroot variable, which will put you in the correct location of your content wherever Intune caches it, which would make things more flexible.
Please like or mark this thread as answered if it's helpful, thanks!