I want to make an original toast notification with Configuration Manager (SCCM / MECM)

ryosk25 521 Reputation points
2021-07-06T03:28:33.797+00:00

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;

Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,743 questions
Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
453 questions
Microsoft Configuration Manager
{count} votes

Accepted answer
  1. Jason Sandys 31,146 Reputation points Microsoft Employee
    2021-07-06T19:31:55.053+00:00
    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful