Introduction
I’ve completely REWRITTEN my popular Toast Notification Script from the ground up – now exclusively for Microsoft Intune!
What’s new:
- Built specifically for Intune Remediations
- Enhanced logging & smart detection logic
- Personalized user greetings
- Multiple notification scenarios
Perfect for:
- Weekly reminders/messages
- Pending reboot notifications
- Company Portal integration
- Custom organizational messages
Ready to deploy? Get it now: https://github.com/imabdk/Toast-Notification-Script
Temp. documentation down below. 🙂
Temp documentation
Note: This is interim documentation for immediate reference. Comprehensive documentation will be published shortly.
Log Files
%AppData%\Roaming\ToastNotificationScript\Remediate-ToastNotification.log:
%programdata%\Microsoft\IntuneManagementExtension\Logs\HealthScripts.log:
Config Files
Two ready-to-use configuration examples are included in the repository:
Local Files (Repository)
- config-toast-weeklymessage.xml – Weekly reminder notifications
- config-toast-pendingreboot.xml – Pending reboot notifications
Hosted Online (Default)
The scripts reference hosted versions by default:
- Weekly Messages:Â
https://toast.imab.dk/config-toast-weeklymessage.xml - Pending Reboot:Â
https://toast.imab.dk/config-toast-pendingreboot.xml
Note: You can use the hosted URLs directly for testing purposes or download the local files and host them on your own infrastructure. The scripts default to the hosted versions for immediate deployment.





Wow… was waiting for these… thanks a lot.
Just can you clarify please does it support app deployment the same way the old one was working from SCCM?
I can’t find the config for the app deployment, even if it mentions “Application Deployment: Integration with Company Portal for software deployment notifications”. How does it links to the Company Portal?
Ho Oleg, long time no see. The old script had all sorts of options to trigger actions in software center via WMI. That’s not so easy with company portal, but company portal does have its own protocol already companyportal:, companyportal:applications etc
Hej Martin,
Jeg har nu uploadet de to filer til Intune: Remediate-toastnotification og Detect-toastnotification, og jeg har lavet nogle mindre ændringer i config-toast.xml. Jeg har desuden sat schedule til hver dag, men der sker desværre ikke noget endnu.
Derudover vil jeg høre, hvordan de to scripts i Intune helt konkret kalder config-toast.xml? Er der en bestemt sti eller reference, jeg skal sikre mig er korrekt, for at konfigurationen bliver læst?
Jeg vil anbefale at du i første omgang forsøger at få dem til at virke lokalt først. De refererer en config fil jeg hoster på toast.imab.dk som eksempel, jeg anbefaler du laver din egen og hoster andet steds. Hvis du kører remediate scriptet manuelt lokalt på din pc, hvad ser du så? Der er logging i appdata\toastnotificationscript.
Intune er ikke glad for at powershell skifter mellem full language og constrained language, så hvis I tvinger CLM for almindelige brugere, så er der desværre stadig en begrænsning indtil jeg får omskrevet scriptet lidt igen.