Windows 11 PowerShell Script Toast Notification not appearing

Kedar Tamboli 171 Reputation points
2022-06-29T11:06:02.34+00:00

Hello All,

We have few in house Toast Notifications (PowerShell Script based) which are not working on Windows 11 OS. The same are working perfectly fine on Windows 10 OS.

We have observed that "Windows PowerShell" app not showing listed under Settings >> Notifications on Windows 11. Do I need to enable any configuration to pop up PowerShell based toast on Windows 11?

216122-ps.jpg

Thanks and regards,
Kedar

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 27,606 Reputation points MVP
    2022-06-30T00:59:43.53+00:00

    Windows PowerShell 5.1 is already installed by default in Windows 11. You can check the version:

    Open PowerShell and type:

    Get-Host | Select-Object Version

    Windows PowerShell and PowerShell Core are separate.

    0 comments No comments

  2. Limitless Technology 40,081 Reputation points
    2022-07-03T08:38:19.06+00:00

    Hi there,

    Make sure that you have installed the NuGet package..NET Framework desktop apps that still use packages.config must migrate to PackageReference, otherwise, the Windows SDKs won't be referenced correctly.

    I would also suggest you to crosscheck the requirements from the below article

    https://learn.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/send-local-toast?tabs=uwp

    Also, try changing the notification settings and see if you can add PowerShell to it. Change notification settings in Windows

    https://support.microsoft.com/en-us/windows/change-notification-settings-in-windows-8942c744-6198-fe56-4639-34320cf9444e

    ----------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.