Forum Discussion
Werner2024
Jan 25, 2024Copper Contributor
Intune
good day Hope someone can assist me, I want to create a intune package that copy a folder from a network server to the local C drive of the computer, after the copy has finish I want it to automat...
Werner2024
Jan 25, 2024Copper Contributor
Hi Tim,
Thanks for the info will definitely give it a try, my only concern is the copy process from the server to the local machine does not happen, so I am stuck there.
The error logs does not give me any error's or false status, the app show installed on Intune console but on the endpoint nothing is happening. what I have notice is that it shows that the app is downloading and installing then a min after that it fails.
Thanks for the info will definitely give it a try, my only concern is the copy process from the server to the local machine does not happen, so I am stuck there.
The error logs does not give me any error's or false status, the app show installed on Intune console but on the endpoint nothing is happening. what I have notice is that it shows that the app is downloading and installing then a min after that it fails.
TimBosch
Jan 29, 2024Brass Contributor
Hey Werner,
No problem! What is the command you are using in intune? maybe the installment is dedicated to run as USER with Elevated rights.
greets,
tim
No problem! What is the command you are using in intune? maybe the installment is dedicated to run as USER with Elevated rights.
greets,
tim
- Werner2024Feb 07, 2024Copper ContributorI use the below command
Powershell.exe -NoProfile -ExecutionPolicy ByPass -File .\script.ps1- TimBoschFeb 08, 2024Brass Contributor
This is mine and works flawlessly in this scenario
powershell.exe -executionpolicy bypass -file "Install.ps1"
My AX installation script looks like the following:
$tempExtractPath = "C:\Temp\ExtractedFiles"
New-Item -ItemType Directory -Path $tempExtractPath -Force | Out-Null
# Pak het .zip-bestand uit naar de tijdelijke map
Expand-Archive -Path $zipFilePath -DestinationPath $tempExtractPath -Force
Then I use the start-process to install the AX- Werner2024Feb 15, 2024Copper ContributorThanks Tim
Will give this a try definitely