useful wsl toast script
parent
1317a82eaf
commit
1fba28c6b7
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# must install BurntToast in PowerShell in Windows as Administrator
|
||||||
|
# Install-Module -Name BurntToast
|
||||||
|
SCRIPT="
|
||||||
|
Import-Module BurntToast ;
|
||||||
|
New-BurntToastNotification -text '$1', '$2'
|
||||||
|
"
|
||||||
|
echo $SCRIPT | powershell.exe -ExecutionPolicy Unrestricted -Command -
|
Reference in New Issue