mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-14 12:34:44 +02:00
Updated play-beep-sound.ps1
This commit is contained in:
parent
b4997ff74b
commit
b3cdf19f4a
0
scripts/convert-images2webp.ps1
Normal file → Executable file
0
scripts/convert-images2webp.ps1
Normal file → Executable file
0
scripts/install-scoop.ps1
Normal file → Executable file
0
scripts/install-scoop.ps1
Normal file → Executable file
0
scripts/list-installed-hotfixes.ps1
Normal file → Executable file
0
scripts/list-installed-hotfixes.ps1
Normal file → Executable file
0
scripts/new-markdown-file.ps1
Normal file → Executable file
0
scripts/new-markdown-file.ps1
Normal file → Executable file
0
scripts/new-text-file.ps1
Normal file → Executable file
0
scripts/new-text-file.ps1
Normal file → Executable file
@ -12,11 +12,6 @@
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
[System.Console]::Beep(500,300)
|
||||
Start-Sleep -milliseconds 300
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
[System.Console]::Beep(500, 300)
|
||||
Start-Sleep -milliseconds 300
|
||||
exit 0 # success
|
||||
|
0
scripts/watch-crypto-rates.ps1
Normal file → Executable file
0
scripts/watch-crypto-rates.ps1
Normal file → Executable file
Loading…
Reference in New Issue
Block a user