PowerShell/scripts/play-rick.ps1

17 lines
397 B
PowerShell
Raw Normal View History

2024-10-01 15:24:16 +02:00
<#
2023-09-20 13:56:23 +02:00
.SYNOPSIS
2023-09-20 14:03:48 +02:00
Plays Rick Astley
2023-09-20 13:56:23 +02:00
.DESCRIPTION
This PowerShell script launches the Web browser with YouTube playing Rick Astley.
.EXAMPLE
2023-09-20 14:03:48 +02:00
PS> ./play-rick.ps1
2023-09-20 13:56:23 +02:00
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz | License: CC0
#>
& "$PSScriptRoot/open-default-browser.ps1" "https://www.youtube.com/watch?v=v7ScGV5128A"
"You've been Rick-Rolled 🤣"
exit 0 # success