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 ! ;-)"