question

rkppt-4902 avatar image
0 Votes"
rkppt-4902 asked saldana-msft edited

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

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.ToastNotificationManager,Windows.UI.Notifications, ContentType = WindowsRuntime]::GetTemplateContent(
[Windows.UI.Notifications.ToastTemplateType, Windows.UI.Notifications, ContentType = WindowsRuntime]::ToastText01);
$msg="Test Message";
$template.GetElementsByTagName("text").Item(0).InnerText=$msg;
[Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier($AppId).Show($template);


mem-cm-generalwindows-10-securitymem-cm-application
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Just checking in to see if there is any update. We haven't heard from you for a few days and would like to know the current status of the problem.
Have you view the links that Jason provided? They are useful in my opinion. Look forward to hearing from you.

Thanks for your time. Have a nice day!

0 Votes 0 ·

1 Answer

Jason-MSFT avatar image
1 Vote"
Jason-MSFT answered rkppt-4902 published
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for the useful information. I'm trying it now, so I'll contact you as soon as I know the result.

0 Votes 0 ·

With the information I received, it worked fine.
Thank you very much.

0 Votes 0 ·