June 2009
2 posts
2 tags
Jun 14th
Daily PoSH Quote!
function motd { $Voice = new-object -com SAPI.SpVoice $rssUrl = “http://feeds.feedburner.com/brainyquote/QUOTEBR” $blog = [xml](new-object System.Net.WebClient).DownloadString($rssUrl) $quote = $blog.rss.channel.item[0] $quote.description $quote.title $Voice.Speak( $quote.description, 1 ) $Voice.Speak( $quote.title, 1 ) } motd{}
Jun 12th
3 notes