Apr 21 2021 10:26 AM
Apr 21 2021 10:26 AM
I desperately need some help! And just thought Id post on here to see if someone can help! I need to create a folder on client machines in the c drive (Folder name: Spanish Games) which I then deploy a bunch of files to this folder I create
I have had a look and seems like I need to create a win32 app container with all in, script and files.
What would I need to include in the script to get this to work? I have had a look at docs online but cant find one that deploys a folder and files too. I have found this: https://pariswells.com/blog/intune/copy-file-to-workstations-with-windows-intune but dont really understand some of it.
Any help would be great!! Thanks in advance
Apr 22 2021 12:50 AMSolution
Oct 01 2021 06:14 AM
Oct 01 2021 06:54 AM
Oct 18 2021 05:47 AM
@Rudy_Ooms_MVP I tried to follow these steps and i just get a 0x80070001 error in Intune. from my trouble shooting it cant seem to find the files when trying to do the copy. Any ideas if i have missed something?
Oct 18 2021 05:53 AM
Oct 18 2021 07:10 AM
Oct 18 2021 07:13 AM
Oct 18 2021 07:20 AM
Hi, did you create a package as I mentioned?. So something like this. Inside the askit you deploy your files you want to copy
And convert that to a win32app... deploy that to intune.. When the file (zip win32) is downloaded it has also the askit folder in it
Like i am describing in this blog
Oct 19 2021 02:19 AM
@Rudy_Ooms_MVP Created the package as mentioned. I managed to run up another machine to test and found the issue is the Execution policy. For some reason the policy is not applying in the path mentioned. If i run a PowerShell before this script then it is working.
Thanks for all your help thought.
Oct 19 2021 03:01 AM
Jul 14 2022 12:57 AM
Jul 14 2022 11:06 PM
Jul 15 2022 12:42 AM - edited Jul 15 2022 12:58 AM
New-Item -Path "c:\Documents\Studio one5\" -Name "Sounds" -ItemType "directory" -force
New-Item -Path "c:\Documents\Studio one5\" -Name "add ins" -ItemType "directory" -force
Copy-Item -Path "Studio one5\*" -Destination "C:\Documents\studio one5\" -Recurse -force
Jul 15 2022 12:44 AM
Jul 15 2022 06:26 AM
Jul 20 2022 05:23 AM
I have tried the wild card "*" and I get errors:
If I use "All Users" this gets the folder/content sent to the public documents rather than users documents
Jul 20 2022 05:34 AM
It looks like it doesnt like the * for the destination part of the script
Jul 20 2022 06:07 AM