PowerShell/Scripts/play-imperial-march.ps1

33 lines
1003 B
PowerShell
Raw Normal View History

2021-09-27 10:38:12 +02:00
<#
2021-08-18 10:01:07 +02:00
.SYNOPSIS
2021-09-24 17:19:49 +02:00
Plays the Imperial March (Star Wars)
2021-10-04 21:29:23 +02:00
.DESCRIPTION
2022-02-10 08:57:52 +01:00
This PowerShell script plays the Imperial March used in the Star Wars film series.
2021-08-18 10:01:07 +02:00
.EXAMPLE
2021-09-24 17:19:49 +02:00
PS> ./play-imperial-march
2021-08-29 17:50:03 +02:00
.NOTES
2022-02-10 08:57:52 +01:00
Author: Markus Fleschutz / License: CC0
2021-08-18 10:01:07 +02:00
.LINK
https://github.com/fleschutz/PowerShell
#>
[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)
2021-09-27 10:09:45 +02:00
exit 0 # success