Commit graph

62 commits

Author SHA1 Message Date
Ben Whitmore
2e3b18d87d Version 2.0 - 07/02/2021
-Basic logging added
-Toast temp directory fixed to $ENV:\Temp\$ToastGUID
-Removed unncessary User SID discovery as its no longer needed when running the Scheduled Task as "USERS"
-Complete re-write for obtaining Toast Displayname. Name obtained first for Domain User, then AzureAD User from the IdentityStore Logon Cache and finally whoami.exe
- Added "AllowStartIfOnBatteries" parameter to Scheduled Task
2021-02-07 00:06:23 +00:00
Ben Whitmore
5ab80beb18 Merge branch 'master' of https://github.com/byteben/Toast 2021-02-05 18:31:55 +00:00
Ben Whitmore
530620bece Version 1.2.105 - 05/002/2021
Changed how we grab the Toast Welcome Name for the Logged on user by leveraging whoami.exe - Thanks Erik Nilsson @dakire
2021-02-05 18:31:01 +00:00
Ben Whitmore
184972b7e8
Update README.md 2021-01-28 22:55:23 +00:00
Ben Whitmore
7a464b6633 Version 1.2.28 - 28/01/2021
-For AzureAD Joined computers we now try and grab a name to display in the Toast by getting the owner of the process Explorer.exe
-Better error handling when Get-xx fails
2021-01-28 22:53:51 +00:00
Ben Whitmore
cc8de1e1f8 Version 1.2.26 - 26/01/2021 -Changed the Scheduled Task to run as -GroupId "S-1-5-32-545" (USERS).
When Toast_Notify.ps1 is deployed as SYSTEM, the scheduled task will be created to run in the context of the Group "Users".
This means the Toast will pop for the logged on user even if the username was unobtainable (During testing AzureAD Joined Computers did not populate (Win32_ComputerSystem).Username).
The Toast will also be staged in the $ENV:Windir "Temp\$($ToastGuid)" folder if the logged on user information could not be found.
Thanks @CodyMathis123 for the inspiration via https://github.com/CodyMathis123/CM-Ramblings/blob/master/New-PostTeamsMachineWideInstallScheduledTask.ps1
2021-01-26 21:52:51 +00:00
Ben Whitmore
fb722f7724
Update README.md 2021-01-14 12:06:30 +00:00
Ben Whitmore
353b0da6f8 Version 1.2.14 - 14/01/21
Version 1.2.14 - 14/01/21
-Fixed logic to return logged on DisplayName - Thanks @MMelkersen
-Changed the way we retrieve the SID for the current user variable $LoggedOnUserSID
-Added Event Title, Description and Source Path to the Scheduled Task that is created to pop the User Toast
-Fixed an issue where Snooze was not being passed from the Scheduled Task
-Fixed an issue with XMLSource full path not being returned correctly from Scheduled Task
2021-01-14 11:30:08 +00:00
Ben Whitmore
7ba75ac8e0 Minor change to help 2021-01-10 22:50:54 +00:00
Ben Whitmore
82327cb3f7 Merge branch 'master' of https://github.com/byteben/Toast 2021-01-10 22:48:47 +00:00
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
fdd4c7813f
Update README.md 2021-01-10 22:43:51 +00:00
Ben Whitmore
5d6bfaad21
Update README.md 2021-01-10 22:42:00 +00:00
Ben Whitmore
d438036a0e
Update README.md 2021-01-10 22:41:25 +00:00
Ben Whitmore
0941ab2e2f
Update README.md 2021-01-10 22:40:02 +00:00
Ben Whitmore
9b8e8c09eb
Update README.md 2021-01-10 22:39:19 +00:00
Ben Whitmore
bb4dbc5626
Update README.md 2021-01-10 22:38:25 +00:00
Ben Whitmore
524e16c94c
Update README.md 2021-01-10 22:30:54 +00:00
Ben Whitmore
b6d8d943e5
Update README.md 2021-01-10 22:26:40 +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
4adafe3bcc Merge branch 'master' of https://github.com/byteben/Toast 2021-01-09 14:56:29 +00:00
Ben Whitmore
cb82053923 Update Toast_Notify.ps1 2021-01-09 14:56:26 +00:00
Ben Whitmore
d2dbb80555
Update README.md 2021-01-09 14:29:42 +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
f7fa13de2e Merge branch 'master' of https://github.com/byteben/Toast 2020-12-30 14:24:04 +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
f60e6fd0ce
Update README.md 2020-07-23 20:22:04 +01:00
Ben Whitmore
c39c2bf3dd Merge branch 'master' of https://github.com/byteben/Toast 2020-07-23 13:50:23 +01:00
Ben Whitmore
860f01e39c Updated heroimage.jpg and CustomMessage.xml content 2020-07-23 13:50:18 +01:00
Ben Whitmore
bd8a40bd81
Update README.md 2020-07-23 08:15:13 +01:00
Ben Whitmore
7a13714530
Update README.md 2020-07-23 08:12:51 +01:00
Ben Whitmore
58b2997f33
Update README.md 2020-07-23 08:11:37 +01:00
Ben Whitmore
364ddff0c4
Update README.md 2020-07-23 08:10:21 +01:00
Ben Whitmore
24c0a33adb
Update README.md 2020-07-23 08:03:36 +01:00
Ben Whitmore
60ca7e3b00
Update README.md 2020-07-23 08:03:13 +01:00
Ben Whitmore
4aad364bd2
Update README.md 2020-07-23 07:50:58 +01:00
Ben Whitmore
e8f15c0603
Update README.md 2020-07-22 18:31:30 +01:00
Ben Whitmore
7fe5a09cf7
Update README.md 2020-07-22 18:26:32 +01:00
Ben Whitmore
aed254b96b
Update README.md 2020-07-22 16:44:32 +01:00
Ben Whitmore
4c808a88f1 Merge branch 'master' of https://github.com/byteben/Toast 2020-07-22 16:40:07 +01:00
Ben Whitmore
bd97565ade Removed legacy $Time variable 2020-07-22 16:40:00 +01:00
Ben Whitmore
211d29f020
Update README.md 2020-07-22 16:38:01 +01:00
Ben Whitmore
efd1b0ac0e
Update README.md 2020-07-22 16:21:56 +01:00
Ben Whitmore
47cbbde49f
Update README.md 2020-07-22 16:01:19 +01:00
Ben Whitmore
13f119ec2c
Update README.md 2020-07-22 15:58:06 +01:00
Ben Whitmore
359c7332bb
Update README.md 2020-07-22 15:57:31 +01:00
Ben Whitmore
9bff7e8135
Update README.md 2020-07-22 15:57:06 +01:00
Ben Whitmore
6273ef83ee
Update README.md 2020-07-22 15:51:41 +01:00
Ben Whitmore
ff014a92b0
Update README.md 2020-07-22 15:48:04 +01:00
Ben Whitmore
20a9b8a058
Update README.md 2020-07-22 15:47:55 +01:00