Checklist
Steps to Reproduce
$button = New-BTButton -Content "Go to NotePad++" -Arguments "C:\Program Files\Notepad++\notepad++.exe" -ActivationType Background
New-BurntToastNotification -Text "Try this out" -Button $button
Expected Behavior
What is to be expected is the Toast Notification to appear (which it does), with a button to open NotePad (which is does), and then open NotePad++.
Actual Behavior
Nothing happens when clicking the button outside of the notification disappearing.
Experience with Toast
None
Environment data: PowerShell
Name Value
---- -----
PSVersion 7.5.2
PSEdition Core
GitCommitId 7.5.2
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Environment data: OS
OsName : Microsoft Windows 11 Enterprise
OsVersion : 10.0.26100
OsArchitecture : 64-bit
Environment data: BurntToast
Directory: C:\Program Files\WindowsPowerShell\Modules
ModuleType Version PreRelease Name PSEdition ExportedCommands
---------- ------- ---------- ---- --------- ----------------
Script 1.0.1 BurntToast Desk {Get-BTHeader, Get-BTHistory, New-BTAction, New-BTAudio…}
Consent to Attribution
Checklist
Steps to Reproduce
Expected Behavior
What is to be expected is the Toast Notification to appear (which it does), with a button to open NotePad (which is does), and then open NotePad++.
Actual Behavior
Nothing happens when clicking the button outside of the notification disappearing.
Experience with Toast
None
Environment data: PowerShell
Environment data: OS
Environment data: BurntToast
Consent to Attribution