How do I get HP Bloatware script to run during enrollment?
Hi all
I am wanting to put a script within Intune so during the deployment phase of autopilot it would remove the HP Bloatware however if I attach this script
https://gist.github.com/mark05e/a79221b4245962a477a49eb281d97388 into the deployment policy it would fail everytime.
I can only remove it by going to the start menu , run powershell as admin and then run the script manually from there.
What do I need to add so the script can run automatically?
It wouldn’t matter if it can’t be run during the enrollment stage but I do want to somehow automatic this .
Thanks
Hi all I am wanting to put a script within Intune so during the deployment phase of autopilot it would remove the HP Bloatware however if I attach this scripthttps://gist.github.com/mark05e/a79221b4245962a477a49eb281d97388 into the deployment policy it would fail everytime. I can only remove it by going to the start menu , run powershell as admin and then run the script manually from there. What do I need to add so the script can run automatically? It wouldn’t matter if it can’t be run during the enrollment stage but I do want to somehow automatic this . Thanks Read More