mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-14 06:48:46 +02:00
Changed encoding to UTF-8 with BOM
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Shows a notification
|
||||
Shows a notification
|
||||
.DESCRIPTION
|
||||
This PowerShell script shows a toast-message notification for the Windows 10 Notification Center.
|
||||
This PowerShell script shows a toast-message notification for the Windows 10 Notification Center.
|
||||
.EXAMPLE
|
||||
PS> ./show-notification "Hello World"
|
||||
PS> ./show-notification "Hello World"
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$Text = "Hello World", [string]$Title = "NOTE", [int]$Duration = 5000)
|
||||
@ -27,4 +27,4 @@ try {
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user