EDIT: As of 12/05/2016 this no longer works. Please use youtube-dl.exe as an alternative.
Sometimes when I’m travelling I don’t have internet access and I want to take videos with me. Here is a script to download videos from Youtube using Powershell.
Run the script with .\youtube.ps1 -video https://www.youtube.com/watch?v=videolink
. It will ask which quality you want to download in first and then download it to the current directory.