Forum Discussion
Eric_H
Nov 16, 2023Iron Contributor
Device Remediation status misleading
Maybe I'm just missing something here, but when a Remediation script repeats on a schedule, how can we tell if devices were remediated? All devices report "Without Issues" and ZERO devices fixed, bu...
Nov 17, 2023
Could you share parts of the scripts? Are you making sure you have proper exits in place etc?
so when it fails it will fail with exit 1 and when everything checks out it has an exit 0...
so when it fails it will fail with exit 1 and when everything checks out it has an exit 0...
- Eric_HDec 04, 2023Iron Contributor
Shout out to karbonx1 for the scripts detecting LLMNR and Netbios.
https://www.reddit.com/r/Intune/comments/nqpi60/proactive_remediation_scripts_to_disable_llmnr/
Like I mentioned, they run fine and report to the Intune portal correctly on the first execution of the schedule. But on the second execution (day 2) Intune resets all the stats. In a way I suppose it is reporting correctly - on day 2 the detection script runs and finds no devices with the problem, so no devices are "remediated." However, just logically, I would think the portal would keep a count of devices that have been remediated over time. Appreciate you glancing at the script as I am new to this - maybe I'm doing something wrong.- Dec 05, 2023Ahhh okay... so everything works out... but you were hoping there was some "history" available?
Sometimes it helps to add more columns to the output
https://call4cloud.nl/2021/05/the-laps-reloaded/#second-part
But yeah having a proper outages history and how it was fixed would be lovely