Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove script from task scheduler #48

Open
santeria94673 opened this issue May 23, 2023 · 1 comment
Open

Remove script from task scheduler #48

santeria94673 opened this issue May 23, 2023 · 1 comment

Comments

@santeria94673
Copy link

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

@BjornSteyaert
Copy link

Unregister-ScheduledTask -TaskName "IntuneDriveMapping"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants