A quick glance at Windows Powershell »
FERDY CHRISTANT - NOV 15, 2006 (10:51:10 AM)
Through one of my tech news feeds, I learned that Windows Powershell is out. Powershell brings advanced CLI capabilities to the Windows platform. Being a fan of the Linux CLI, this was one of the few features I was excited about for Vista. Unfortunately, they dropped it from Vista and now offer it as a seperate download. Don't ask me why.
Anyways, I just installed it and was playing around with some examples. By mere coincidence, I found some commands that do almost exactly the same as yesterday's posting. Yesterday I used a PHP package to parse a feed from this very site. Today I did the same using Windows Powershell:

That's quite powerful. Here's the commands I entered:
$rssUrl = "http://www.ferdychristant.com/blog/rss/categories.xml?openpage&cat=s3maphor3"
$blog = [xml](new-object System.Net.WebClient).DownloadString($rssUrl)
$blog.rss.channel.item | select title -first 10
I have been using Cygwin for a while now on my Windows box, so that I can have the Linux CLI available there as well. Combined with Windows Powershell, I'm looking at quite some level of control now. Only thing left to do is learn about Windows Powershell, but that's not going to the top of the list for now :)


