Have you seen https://www.imab.dk/windows-10-toast-notification-script/ or https://byteben.com/bb/deploy-service-announcement-toast-notifications-in-windows-10-with-memcm/?
I want to make an original toast notification with Configuration Manager (SCCM / MECM)
ryosk25
546
Reputation points
Do you have a good idea for sending a message to users of client PCs?
The following commands are distributed by the script distribution function of Configuration manager.
I can't get the expected behavior.
When executed on the client PC, toast notification works correctly.
--PowerShell--
$AppId = "{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\WindowsPowerShell\v1.0\powershell.exe";
$template=
[Windows.UI.Notifications.ToastTemplateType, Windows.UI.Notifications, ContentType = WindowsRuntime]::ToastText01);
$msg="Test Message";
$template.GetElementsByTagName("text").Item(0).InnerText=$msg;
Accepted answer
-
Jason Sandys 31,306 Reputation points Microsoft Employee
2021-07-06T19:31:55.053+00:00