Printable version of post Scaricare tutti i video delle sessioni del Build

Scaricare tutti i video delle sessioni del Build

Print Content | More

Per chi come me è in overflow da news tecnologiche, e non vuole perdersi neanche un minuto del Build, ecco gli step da seguire per scaricarsi tutte le sessioni:

cd "C:\build11"
[Environment]::CurrentDirectory=(Get-Location -PSProvider FileSystem).ProviderPath
$a = ([xml](new-object net.webclient).downloadstring("http://channel9.msdn.com/Events/BUILD/BUILD2011/RSS/wmvhigh"))
$a.rss.channel.item | foreach{ 
    $url = New-Object System.Uri($_.enclosure.url)
    $file = $url.Segments[-1]
    $file
    if (!(test-path $file))
    {
        (New-Object System.Net.WebClient).DownloadFile($url, $file)
    }
}

 

Il tutto è basato su questo post che si appoggia a sua volta in un post di Scott Hanselman.

Buon download.


Build , Session , Download , Eventi

0 comments