IntuneDriveMapping icon indicating copy to clipboard operation
IntuneDriveMapping copied to clipboard

Remove script from task scheduler

Open santeria94673 opened this issue 2 years ago • 1 comments

Hello,

Your script was lifesaving for me and worked as intended. I missused it though, and deployed a test script to some devices with assigned letters, let's say G and H. After seeing it working properly, i removed the script from intune and deployed the "correct" script with the same path, and letters I and M. Now it won't work at all because of their computers you have 2 tasks scheduled that conflict with the other. Is there a way to fix that other than manually remove them? Both of them had "remove stale drives" on! Thanks

santeria94673 avatar May 23 '23 09:05 santeria94673

Unregister-ScheduledTask -TaskName "IntuneDriveMapping"

BjornSteyaert avatar Sep 13 '23 05:09 BjornSteyaert