Replies: 2 comments
-
You can't remove it (at least as of Windows 10 20H2), but you can change it. If you run For example, let's say I wanted to attribute a toast to Teams. I look for it's AppID: Get-StartApp *Teams
I can then take the AppID of New-BurntToastNotification -AppID 'com.squirrel.Teams.Teams' Where this is useful is if you're using remote management software, you can attribute your toasts to that, or say you're working from the Windows Terminal app you could point your toasts at that instead of generically PowerShell. If you decide you're always going to have your notifications come from a sepcific AppID, you can edit the config.json file in the module directory for BurntToast (just note that if the AppID has slashes in it, like the default one, you need to double them up or they won't work.) |
Beta Was this translation helpful? Give feedback.
-
Awesome. That's perfect. Thanks.
Please excuse any spelling or grammatical errors. Sent from my phone.
…________________________________
TIM WISER
CENTRALISED SERVICES LEAD
***@***.***
0115 860 2094
airit.co.uk
The Technology Hub, Unit 7,
Interchange 25 Business Park,
Bostocks Lane, Sandiacre,
Nottingham, NG10 5QG
Air IT Ltd is a registered company in England number 5543898. Registered Office: The Technology Hub, Unit 7, Interchange 25 Business Park, Bostocks Lane, Sandiacre, Nottingham, NG10 5QG
This message contains confidential information and is intended only for the intended recipients. If you are not an intended recipient you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.
From: Joshua King ***@***.***>
Sent: Monday, April 26, 2021 12:13:14 AM
To: Windos/BurntToast ***@***.***>
Cc: Centralised Services ***@***.***>; Author ***@***.***>
Subject: Re: [Windos/BurntToast] Remove the "Windows Powershell" title in the popup (#165)
You can't remove it (at least as of Windows 10 20H2), but you can change it.
If you run Get-StartApps you'll see a list of applications and their "AppIDs", you can take these IDs and use them for your toast notification.
For example, let's say I wanted to attribute a toast to Teams. I look for it's AppID:
Get-StartApp *Teams
Name AppID
---- -----
Microsoft Teams com.squirrel.Teams.Teams
I can then take the AppID of com.squirrel.Teams.Teams and give that to BurntToast.
New-BurntToastNotification -AppID 'com.squirrel.Teams.Teams'
[Toast notification attributed to Microsoft Teams]<https://user-images.githubusercontent.com/6955786/116012665-0384ed80-a680-11eb-8d8b-703d9dd37035.png>
Where this is useful is if you're using remote management software, you can attribute your toasts to that, or say you're working from the Windows Terminal app you could point your toasts at that instead of generically PowerShell.
If you decide you're always going to have your notifications come from a sepcific AppID, you can edit the config.json file in the module directory for BurntToast (just note that if the AppID has slashes in it, like the default one, you need to double them up or they won't work.)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#165 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASZHFXWDIAEEXB3NNERMY6TTKSOYVANCNFSM43MNFFZQ>.
|
Beta Was this translation helpful? Give feedback.
-
First off - Great work on this module - it's really useful, so thanks for publishing it.
I was wondering whether it would be possible to remove the "Windows Powershell" line from the top of the BurntToast notifications?
Beta Was this translation helpful? Give feedback.
All reactions