Windows 10 Toast Notification Script updated to version 1.3

Introduction

As the topic suggests; my Windows 10 Toast Notification Script has been updated to version 1.3 and here’s what’s new and delicious. 😀

Note: The screenshot below is intentionally in jibberish (danish). This is to illustrate that all text elements now are customizable through the config file.

What’s New

  • 1.3 – All text elements in the toast notification is now customizeable through the config.xml
    • Expanded the options for finding given name. Now also looking in WMI if no local AD is available.
    • Added Get-WindowsVersion function: Testing for supported Windows version
    • Added Test-WindowsPushNotificationsEnabled function: Testing for OS toast blockers
    • Added some more detailed logging
    • Added contributions from @SuneThomsenDK @ https://www.osdsune.com
      • Date formatting in deadline group
      • Fixed a few script errors
      • More text options

Text Options

I have highlighted the new text options in below illustration. A new set of config files are included in the latest download.

Download

https://github.com/imabdk/Toast-Notification-Script

9 thoughts on “Windows 10 Toast Notification Script updated to version 1.3”

  1. Thanks for continuing updates.

    The latest updates, which adds more personalization are really great, as it can make the notification more “friendly” for the users 🙂

    Would it be possible for the toast to both monitor for waiting reboots and uptime? Or should that be configured as a separate toast, running at different times from the reboot toast?

    Thanks

    Reply
    • Thanks a bunch. I separated those checks on purpose, so one wasn’t dependent on the other. So yes, they would need to be configured as separate toasts 🙂

      Reply
        • A small change I made to the powershell script, which you can choose to use or not in a future update. I was missing what the current uptime was in the log, So I changed

          if ($PendingRebootUptime -eq “True”) {
          Write-Log -Message “PendingRebootUptime set to True. Checking for device uptime”
          $Uptime = Get-DeviceUptime
          }

          to:

          if ($PendingRebootUptime -eq “True”) {
          $Uptime = Get-DeviceUptime
          Write-Log -Message “PendingRebootUptime set to True. Checking for device uptime. Current uptime is: $Uptime”

          }

          Reply
  2. Just a small observation.

    If using Fast startup (aka: hiberboot, hybrid boot, or hybrid shutdown), which is on by default, the uptime counter is not reset on “Shutdown computer”. A reboot resets it, but not a shutdown *sigh* 🙂

    The only fix I’ve been able to find, is disabling Fast startup.

    Reply
    • Nice! That was actually on my to-do list of something I wanted to add. Care to share your code with me? 🙂 I’ll include it and give you credit. Please email me on mab@imab.dk if you don’t mind 🙂

      Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.