imabdk / Toast-Notification-Script

My Windows Toast Notification Script explained in details here: https://imab.dk/windows-10-toast-notification-script/

Home Page:https://imab.dk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add options

Hedkandi opened this issue · comments

Please add options to the configuration that sets the Tag, Group and ExpiresOnReboot properties of the ToastNotification. This will allow me to avoid spamming the users.

If i use the same tag and group in the notifications it will not show a new one if there is one active in the action center. Also ExpiresOnReboot should clear the notifications when a reboot happens.

Thank you for this script, it helps alot!

We definitely need

ExpiresOnReboot

I tried

$Toast.ExpiresOnReboot = $true

but it doesn't work for some reason