PowerShell/scripts/play-rick.ps1

17 lines
394 B
PowerShell
Raw Normal View History

2023-10-31 11:25:11 +01: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