Update README.md

This commit is contained in:
Ben Whitmore 2021-01-10 22:38:25 +00:00 committed by GitHub
parent 524e16c94c
commit bb4dbc5626
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,14 +54,10 @@ https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notification
**Parameters** **Parameters**
You should specify either XMLScriptSourceDir **or** XMLOtherSource parameters but not both. If you specify no parameter the script will read the CustomMessage.xml in the script root. You should specify either XMLScriptSourceDir **or** XMLOtherSource parameters but not both. If you specify no parameter the script will read the CustomMessage.xml in the script root.
**.PARAMETER XMLScriptDirSource** **.PARAMETER XMLSource**
Specify the name of the XML file to read. The XML file must exist in the same directory as Toast_Notify.ps1. If no parameter is passed, it is assumed the XML file is called CustomMessage.xml. Specify the name of the XML file to read. The XML file must exist in the same directory as Toast_Notify.ps1. If no parameter is passed, it is assumed the XML file is called CustomMessage.xml.
**.PARAMETER XMLOtherSource**
Specify the location of the Custom XML file used for the Toast when it is not the same directory as Toast_Notify.ps1 e.g the full UNC path to the XML file.
**.EXAMPLE** **.EXAMPLE**
Toast_Notify.ps1 -XMLOtherSource "\\\\fileserverhome\xml\CustomMessage.xml" Toast_Notify.ps1 -XMLOtherSource "\\\\fileserverhome\xml\CustomMessage.xml"
@ -79,15 +75,22 @@ Toast_Notify.ps1 -Snooze
Currently, the images in the XML can only be read from the local file system. This is not an issue if we are deploying the package from MEMCM. Currently, the images in the XML can only be read from the local file system. This is not an issue if we are deploying the package from MEMCM.
PowerShell Window flashes before Toast when deployed in SYSTEM context PowerShell Window flashes before Toast when deployed in SYSTEM context
**Thanks for the help from** **Inspiration, Credit and Help**
@guyrleech @guyrleech
@young_robbo @young_robbo
@mwbengtsson
@ccmexec
@syst_and_deploy
**Community** **Community**
Seriously check our Martin Bentsson's work on Toasts. It is very comprehensive. https://www.imab.dk/windows-10-toast-notification-script/ https://www.imab.dk/windows-10-toast-notification-script/
I don't believe in reinventing the wheel, part of me was saying "Use Martin's Script", but I challenged myself to learn how Windows Toasts work from the ground up - so this project was a labour of love for me. I have enjoyed the ride so far. http://www.systanddeploy.com/2020/09/display-simple-toast-notification-with.html
https://github.com/Windos/BurntToast
https://wetterssource.com/ondemandtoast
https://msendpointmgr.com/2020/06/29/adding-notifications-to-win32appremedy-with-proactive-remediations/
https://msendpointmgr.com/2020/08/07/proactive-battery-replacement-with-endpoint-analytics/
If you have any comments, feedback or would like to contribute - please don't be shy! If you have any comments, feedback or would like to contribute - please don't be shy!