PowerShell/scripts/play-imperial-march.ps1

33 lines
1000 B
PowerShell
Raw Normal View History

2023-10-31 11:25:11 +01: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-18 10:01:07 +02:00
.LINK
https://github.com/fleschutz/PowerShell
2022-06-01 09:36:35 +02:00
.NOTES
Author: Markus Fleschutz | License: CC0
2021-08-18 10:01:07 +02:00
#>
[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