You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm really liking this module! There's one behavior that's good for most of the toast notifications that a customer would see, but that's not so good when I'm using PowerShell to send them toast notifications. I was hoping someone has already addressed this.
When I click on the toasts notifications I've sent using New-BurntToastNotification, a PowerShell window opens. Is it possible to prevent that behavior? I wouldn't like my customers launching PowerShell Windows on the toasts I send their way. Not sure if this behavior was that I used Get-StartApps to find PowerShell and specify it in the config file so I could get this working on Windows 11.
I do see that New-BurntToastNotification cmdlet does have arguments named ActivatedAction and DismissedAction. That's the route I was thinking of going, but it would be nice if there was a global setting or something that I could use instead. Thanks.
BurntToast version 0.8.5.
$psversiontable
Name Value
PSVersion 7.1.5
PSEdition Core
GitCommitId 7.1.5
OS Microsoft Windows 10.0.22000
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm really liking this module! There's one behavior that's good for most of the toast notifications that a customer would see, but that's not so good when I'm using PowerShell to send them toast notifications. I was hoping someone has already addressed this.
When I click on the toasts notifications I've sent using New-BurntToastNotification, a PowerShell window opens. Is it possible to prevent that behavior? I wouldn't like my customers launching PowerShell Windows on the toasts I send their way. Not sure if this behavior was that I used Get-StartApps to find PowerShell and specify it in the config file so I could get this working on Windows 11.
I do see that New-BurntToastNotification cmdlet does have arguments named ActivatedAction and DismissedAction. That's the route I was thinking of going, but it would be nice if there was a global setting or something that I could use instead. Thanks.
BurntToast version 0.8.5.
$psversiontable
Name Value
PSVersion 7.1.5
PSEdition Core
GitCommitId 7.1.5
OS Microsoft Windows 10.0.22000
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Beta Was this translation helpful? Give feedback.
All reactions