Created
July 13, 2020 20:40
-
-
Save Windos/37e08f3b12d11b4aac76a3ab100678b2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install-Module BurntToast | |
$Text1 = New-BTText -Content 'Help!' | |
$Text2 = New-BTText -Content "Please send help." | |
$Audio1 = New-BTAudio -Source 'ms-winsoundevent:Notification.Mail' | |
# Point the source at a gif that exists... | |
$HeroImage = New-BTImage -Source 'C:\Temp\Help.gif' -HeroImage | |
$Binding1 = New-BTBinding -Children $Text1, $Text2 -AppLogoOverride $Image1 -HeroImage $HeroImage | |
$Visual1 = New-BTVisual -BindingGeneric $Binding1 | |
$Content1 = New-BTContent -Visual $Visual1 -Audio $Audio1 -Duration Long | |
Submit-BTNotification -Content $Content1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment