OP 22 May, 2021 - 10:49 AM
Hi
Lee Holmes, the author of the popular “Windows PowerShell Cookbook”, has made a little fun project for April Fool’s day (not sure in which year) that turns Rick Astley to Risk ASCII and made him to dance and sing one of his popular songs, Never Let You Down, right inside your PowerShell screen.
Behind the scene, if you examine what’s in the short URL, it uses cmdlet iex, short for invoke-expression, to call up the external WebClient class to download a series text string pre-coded in the shortened URL, which also reset the size and the color of the PowerShell screen, while playing the song Never Let You Down from URL that is also encoded in the code.
You can also save it from pastebin as a batch file and execute it :
Lee Holmes, the author of the popular “Windows PowerShell Cookbook”, has made a little fun project for April Fool’s day (not sure in which year) that turns Rick Astley to Risk ASCII and made him to dance and sing one of his popular songs, Never Let You Down, right inside your PowerShell screen.
Behind the scene, if you examine what’s in the short URL, it uses cmdlet iex, short for invoke-expression, to call up the external WebClient class to download a series text string pre-coded in the shortened URL, which also reset the size and the color of the PowerShell screen, while playing the song Never Let You Down from URL that is also encoded in the code.
You can also save it from pastebin as a batch file and execute it :
Rick Astley - Never Gonna Give You Up.bat: