Rename to play-imperial-march.ps1

This commit is contained in:
Markus Fleschutz 2021-08-18 10:01:07 +02:00
parent 1382a6f243
commit d2a829c494
4 changed files with 35 additions and 35 deletions

View File

@ -156,12 +156,12 @@ open-recycle-bin.ps1, starts the File Explorer with the recycle bin folder
play-beep.ps1, plays a beep sound
play-files.ps1, plays the given audio files
play-happy-birthday.ps1, plays the Happy Birthday song
play-imperial-march.ps1, plays the Imperial March (Star Wars)
play-mission-impossible.ps1, plays the Mission Impossible theme
play-m3u.ps1, plays the given playlist (M3U file format)
play-mp3.ps1, plays the given sound file (MP3 file format)
play-super-mario.ps1, plays the Super Mario Intro
play-tetris-melody.ps1, plays the Tetris melody
play-the-imperial-march.ps1, plays the Imperial March (Star Wars)
poweroff.ps1, halts the local computer (needs admin rights)
publish-to-ipfs.ps1, publishes the given files or directory to IPFS
pull-repo.ps1, pulls updates for the current/given Git repository (including submodules)

Can't render this file because it has a wrong number of fields in line 82.

View File

@ -13,12 +13,12 @@ Mega Collection of PowerShell Scripts
* [play-beep.ps1](Scripts/play-beep.ps1) - plays a beep sound
* [play-files.ps1](Scripts/play-files.ps1) - plays the given audio files
* [play-happy-birthday.ps1](Scripts/play-happy-birthday.ps1) - plays the Happy Birthday song
* [play-imperial-march.ps1](Scripts/play-imperial-march.ps1) - plays the Imperial March (Star Wars)
* [play-mission-impossible.ps1](Scripts/play-mission-impossible.ps1) - plays the Mission Impossible theme
* [play-m3u.ps1](Scripts/play-m3u.ps1) - plays the given playlist (M3U file format)
* [play-mp3.ps1](Scripts/play-mp3.ps1) - plays the given sound file (MP3 file format)
* [play-super-mario.ps1](Scripts/play-super-mario.ps1) - plays the Super Mario Intro
* [play-tetris-melody.ps1](Scripts/play-tetris-melody.ps1) - plays the Tetris melody
* [play-the-imperial-march.ps1](Scripts/play-the-imperial-march.ps1) - plays the Imperial March (Star Wars)
* [speak-checklist.ps1](Scripts/speak-checklist.ps1) - speaks the given checklist by text-to-speech (TTS)
* [speak-countdown.ps1](Scripts/speak-countdown.ps1) - starts a countdown by text-to-speech (TTS)
* [speak-date.ps1](Scripts/speak-date.ps1) - speaks the current date by text-to-speech (TTS)

33
Scripts/play-imperial-march.ps1 Executable file
View File

@ -0,0 +1,33 @@
<#
.SYNOPSIS
play-imperial-march.ps1
.DESCRIPTION
Plays the Imperial March (Star Wars)
.EXAMPLE
PS> .\play-imperial-march.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
[System.Console]::beep(440, 500)
[System.Console]::beep(440, 500)
[System.Console]::beep(440, 500)
[System.Console]::beep(349, 350)
[System.Console]::beep(523, 150)
[System.Console]::beep(440, 500)
[System.Console]::beep(349, 350)
[System.Console]::beep(523, 150)
[System.Console]::beep(440, 1000)
[System.Console]::beep(659, 500)
[System.Console]::beep(659, 500)
[System.Console]::beep(659, 500)
[System.Console]::beep(698, 350)
[System.Console]::beep(523, 150)
[System.Console]::beep(415, 500)
[System.Console]::beep(349, 350)
[System.Console]::beep(523, 150)
[System.Console]::beep(440, 1000)
exit 0

View File

@ -1,33 +0,0 @@
<#
.SYNOPSIS
play-the-imperial-march.ps1
.DESCRIPTION
Plays the Imperial March (Star Wars)
.EXAMPLE
PS> .\play-the-imperial-march.ps1
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz
License: CC0
#>
[console]::beep(440, 500)
[console]::beep(440, 500)
[console]::beep(440, 500)
[console]::beep(349, 350)
[console]::beep(523, 150)
[console]::beep(440, 500)
[console]::beep(349, 350)
[console]::beep(523, 150)
[console]::beep(440, 1000)
[console]::beep(659, 500)
[console]::beep(659, 500)
[console]::beep(659, 500)
[console]::beep(698, 350)
[console]::beep(523, 150)
[console]::beep(415, 500)
[console]::beep(349, 350)
[console]::beep(523, 150)
[console]::beep(440, 1000)
exit 0