Toast Notification issue with SCCM Package

PerserPolis-1732 1,516 Reputation points
2024-05-23T13:13:47.49+00:00

Hi,

I have created a Package for toast Notification and deployed it to some device collection. It seems to be work, but on some devices does not work, it display only PS short, but no Notification

Sometimes it is running only one time, I cannot run the package again

here my command line for package

Powershell.exe -ExecutionPolicy Bypass -NoLogo -Noninteractive -NoProfile -WindowStyle Hidden -File Toast.ps1

my settings

User's image

User's image

any Idea?

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
926 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Prajwal Desai [MVP] 21 Reputation points
    2024-05-23T17:00:13.2+00:00

    On the computers where the package fails to run, did you check the log file to determine the issue?


  2. AllenLiu-MSFT 42,351 Reputation points Microsoft Vendor
    2024-05-24T02:20:18.4733333+00:00

    Hi, @PerserPolis-1732

    Thank you for posting in Microsoft Q&A forum.

    You may try the command like this to run a powershell script with package:

    "%Windir%\sysnative\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -Command .\Your-Scriptfilename.ps1
    

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".