Jimmy Engström


download all videos from build 2013

I’m currently watching all the videos from Build 2013 to be able to create a blog post with the best sessions from build.

If you also would like to watch all the videos here is a simple PowerShell script I found at Michael Crump’s blog with a small modification to get 2013 videos instead of 2011 and added more descriptive names.


cd "e:\build13"

$pattern = "[{0},\:,\']" -f ([Regex]::Escape([String][System.IO.Path]::GetInvalidPathChars()))             
[Environment]::CurrentDirectory=(Get-Location -PSProvider FileSystem).ProviderPath
$a = ([xml](new-object net.webclient).downloadstring("http://channel9.msdn.com/Events/Build/2013/RSS/wmvhigh"))
$a.rss.channel.item | foreach{ 
    $url = New-Object System.Uri($_.enclosure.url)
    $file = [Regex]::Replace($_.Title + " " + $url.Segments[-1] , $pattern, ' ')
    if (!(test-path $file))
            (New-Object System.Net.WebClient).DownloadFile($url, $file)


Just copy the code, paste it into a file called “Build2013.ps1”, create a directory (in my case “E:\Build13”) and change the path in the first line of the script.

Right click on the file and choose run with PowerShell.


In case you get a problem similar like “Build2013.ps1 cannot be loaded because running scripts is disabled on this system.”

Start PowerShell as an administrator and run “set-executionpolicy unrestricted”, this is probably a bad thing to do for security.

Posted in Windows Phone