About Me · Send mail to the author(s) E-mail · Twitter

At GROSSWEBER we practice what we preach. We offer trainings for modern software technologies like Behavior Driven Development, Clean Code and Git. Our staff is fluent in a variety of languages, including English.

Feed Icon


Open Source Projects


Blogs of friends

Now playing [?]

Error retrieving information from external service.

RSS Enclosure Downloader In PowerShell

Posted in PowerShell at Friday, 25 July 2008 23:07 W. Europe Daylight Time

I used this one today to download all images of a Picasa album:

$feed=[xml](New-Object System.Net.WebClient).DownloadString("http://the/rss/feed/url")

foreach($i in $ {
	$url = New-Object System.Uri($i.enclosure.url)


	(New-Object System.Net.WebClient).DownloadFile($url, $url.Segments[-1])