Version 3.0.0 has been rewritten for Microsoft Intune and the Remediations feature.
- Remediate-ToastNotification.ps1 - Main script for toast notification delivery
- Detect-ToastNotification.ps1 - Detection script for Intune deployment
- config-toast-weeklymessage.xml - Configuration example for weekly messages
- config-toast-pendingreboot.xml - Configuration example for pending reboot notifications
📖 Documentation: https://www.imab.dk/windows-10-toast-notification-script/
❓ Questions & Issues: Please visit the blog post above for documentation and support.
The Toast Notification Script has been completely rewritten to provide native Windows toast notifications through Microsoft Intune's Remediations feature.
- Microsoft Intune Integration: Includes proper exit codes and Remediations workflow support
- Flexible Scheduling: Day and hour targeting with support for multiple days and "any time" scheduling
- Multi-Level Logging: Logging with rotation, IME integration, and fallback mechanisms
- Personalized Notifications: Time-based greetings with user's first name and fallback options
- Multiple Notification Types: Weekly reminders, reboot notifications, and general announcements
- Detection Script: Included detection script for proper remediation workflow
- Configuration Validation: Built-in conflict detection and configuration validation
- PowerShell CLM Support: Compatible with Constrained Language Mode for secure environments
- Weekly Reminders: Scheduled notifications for routine communication and announcements
- Reboot Notifications: Uptime-based restart reminders for system maintenance
- General Announcements: Flexible messaging for various organizational scenarios
- Application Deployment: Integration with Company Portal for software deployment notifications
- Windows 10 version 1709 or later / Windows 11
- PowerShell 5.1 or later
- Microsoft Intune managed device
- User context execution (not SYSTEM)
- Internet connectivity for online configuration files
- Download the files
- Configure the
config-toast.xmlfile for your organization and host it online - Deploy in Microsoft Intune Remediations:
- Detection Script:
Detect-ToastNotification.ps1 - Remediation Script:
Remediate-ToastNotification.ps1 - Schedule: Configure based on your notification requirements
- Detection Script:
The config-toast.xml file supports:
- Feature Toggles: Enable/disable toast notifications, weekly messages, pending reboot checks
- Scheduling Options: Flexible day/hour targeting (including "any time" options)
- Visual Customization: Custom logos, hero images, and notification text
- Button Configuration: Action buttons, dismiss buttons, snooze functionality
- Language Support: Multi-language text definitions
- Disk Space Monitoring - Low disk space notifications with cleanup guidance
- Battery Health Monitoring - Proactive notifications when laptop battery health degrades below optimal levels
- OneDrive Sync Issues - Alert users to sync conflicts, pending files, and connectivity problems
For organizations still using Configuration Manager (SCCM), the legacy version remains available:
Download: ToastNotificationScript2.3.0.zip
- Custom notification app registration
- Software Center integration
- Integration to task sequences
- Integration to applications and packages
⚠️ Note: The legacy ConfigMgr version (2.x) is no longer actively developed. Organizations are encouraged to migrate to Microsoft Intune and use version 3.0.0 for additional features and ongoing support.
- 📝 Blog: https://www.imab.dk/windows-10-toast-notification-script/
- 🐛 Issues: GitHub Issues
This project is licensed under the MIT License - see the LICENSE file for details.
Martin Bengtsson
- Website: https://www.imab.dk
- GitHub: @imabdk

