Windows 10 Notification

It could be so useful to display notification for each step in a script you could launch on a W10 computer. A nice module can help ! You can install it through :
Install-Module BurntToast
All new available command are here :
PS C:\Users\Chris> Get-Command -Module BurntToast

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Function        New-BTAction                                       0.6.2      BurntToast
Function        New-BTAppId                                        0.6.2      BurntToast
Function        New-BTAudio                                        0.6.2      BurntToast
Function        New-BTBinding                                      0.6.2      BurntToast
Function        New-BTButton                                       0.6.2      BurntToast
Function        New-BTContent                                      0.6.2      BurntToast
Function        New-BTContextMenuItem                              0.6.2      BurntToast
Function        New-BTHeader                                       0.6.2      BurntToast
Function        New-BTImage                                        0.6.2      BurntToast
Function        New-BTInput                                        0.6.2      BurntToast
Function        New-BTProgressBar                                  0.6.2      BurntToast
Function        New-BTSelectionBoxItem                             0.6.2      BurntToast
Function        New-BTText                                         0.6.2      BurntToast
Function        New-BTVisual                                       0.6.2      BurntToast
Function        New-BurntToastNotification                         0.6.2      BurntToast
Function        Submit-BTNotification                              0.6.2      BurntToast
  Then, If you want more functions, just enter :
Set-BTFunctionLevel Advanced
To create a new app, simply use :
New-BTAppId -AppId "PowershellTips.fr"
Then, to create your notification :
New-BurntToastNotification -AppLogo "https://powershelltips.fr/wp-content/uploads/2018/02/powershell-creer-lire-modifier-raccourcis.png" -Text "PowerShell Notification" , "Powershell is life ! ;-)"
roualin psnotif-300x67 Windows 10 Notification You can also add a sound to your notification ! roualin pssound-300x156 Windows 10 Notification

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

How to whitelist website on AdBlocker?

How to whitelist website on AdBlocker?

  1. 1 Click on the AdBlock Plus icon on the top right corner of your browser
  2. 2 Click on "Enabled on this site" from the AdBlock Plus option
  3. 3 Refresh the page and start browsing the site