PowerShell/Scripts/play-mission-impossible.ps1

62 lines
1.5 KiB
PowerShell
Raw Normal View History

2021-09-27 10:38:12 +02:00
<#
2021-07-13 21:10:02 +02:00
.SYNOPSIS
2021-09-24 17:19:49 +02:00
Plays the Mission Impossible theme
2021-10-04 21:29:23 +02:00
.DESCRIPTION
2022-02-10 08:57:52 +01:00
This PowerShell script plays the Mission Impossible theme.
2021-07-13 21:10:02 +02:00
.EXAMPLE
2021-09-24 17:19:49 +02:00
PS> ./play-mission-impossible
2022-02-10 08:57:52 +01:00
(listen and enjoy)
2021-08-29 17:50:03 +02:00
.NOTES
2022-02-10 08:57:52 +01:00
Author: Markus Fleschutz / License: CC0
2021-07-13 21:10:02 +02:00
.LINK
https://github.com/fleschutz/PowerShell
2021-02-16 19:43:46 +01:00
#>
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(784,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 300
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(784,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 300
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(932,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 150
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(1047,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 150
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(784,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 300
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(784,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 300
2021-10-07 11:45:33 +02:00
[console]::Beep(699,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 150
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(740,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 150
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(784,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 300
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(784,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 300
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(932,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 150
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(1047,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 150
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(784,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 300
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(784,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 300
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(699,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 150
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(740,150)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 150
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(932,150)
[System.Console]::Beep(784,150)
[System.Console]::Beep(587,1200)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 75
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(932,150)
[System.Console]::Beep(784,150)
[System.Console]::Beep(554,1200)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 75
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(932,150)
[System.Console]::Beep(784,150)
[System.Console]::Beep(523,1200)
2021-02-16 19:43:46 +01:00
Start-Sleep -m 150
2021-10-07 11:45:33 +02:00
[System.Console]::Beep(466,150)
[System.Console]::Beep(523,150)
2021-09-27 10:09:45 +02:00
exit 0 # success