Commit graph

7 commits

Author SHA1 Message Date
Ben Whitmore
cbb44e878f Minor Tweak for XML Append
Removed duplicate code in If/Else statement to add actions to $ToastTemplate XML
2021-01-10 22:48:34 +00:00
Ben Whitmore
9d70a0d842 Version 1.2.10 - 10/01/21
-Removed XMLOtherSource Parameter
-Cleaned up XML formatting which removed unnecessary duplication when the Snooze parameter was passed. Action ChildNodes are now appended to ToastTemplate XML.
2021-01-10 22:21:37 +00:00
Ben Whitmore
cb82053923 Update Toast_Notify.ps1 2021-01-09 14:56:26 +00:00
Ben Whitmore
8abfe35abd Version 1.2 - Added logic so if the script is deployed as SYSTEM it will create a scheduled task to run the script for the current logged on user
If the Toast script is deployed in the SYSTEM context, the script source is copied to a new folder in the users %TEMP% Directory.

The folder is given a unique GUID name.

A scheduled task is created for the current logged on user and is unique for the each time the Toast Script is deployed. Each scheduled task is named using the User SID and the unique Task GUID.

If the script is deployed to the current logged on user, a scheduled task is not created and the script is run as normal
2021-01-09 14:24:35 +00:00
Ben Whitmore
a55d2aa624 Added a Snooze switch
Added a SNooze switch to allow users to Snooze the toast. Default snooze timer is set to 1min but can be changed in the XML Section of Toast_Notify.ps1 line 190

Also fixed an error in resolving the logged on user
2020-12-30 14:22:24 +00:00
Ben Whitmore
070b85950e Spelling mistake corrected and example adjusted to avoid ambiguity 2020-07-22 14:35:38 +01:00
Ben Whitmore
2e03f37552 Simple Toast Notifications 2020-07-22 14:02:37 +01:00