Running on demand - Intune Remediation Script + Blacklist URL #612
Unanswered
colourofsound
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Just answered my own question by looking at the scheduled task: powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\ProgramData\Winget-AutoUpdate\winget-upgrade.ps1" So I think this could be run as a remediation in Intune with the trigger/detection being if winget returns anything when running 'winget upgrade' |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm a bit wary of running anything as a scheduled task on a machine, simply because if I need it to stop, getting rid of it via Intune scripts is never a sure thing.
I really like using Remediations in Intune for this instead. So I'm looking at installing WAU and then triggering it with remediations.
So, on to my questions:
Thanks in advance! Using WAU in combination with Winget Wrapper is such a huge time-saver :)
Beta Was this translation helpful? Give feedback.
All reactions