Get-Weather script

Today I was searching the poshcode.org website for an ftp script. But my eyes caught another interesting script, wel actually it is a PowerShell function and it is called Get-Weather. It does exactly what you would expect. It tells you about the current weather in the city you specify. I thought it was a nice script for me as I will go soon to Brazil. And I think it is also a good example how to use webservices with PowerShell.

For example Get-Weather -Country “Brazil” – City “São Paulo”.

For more information about the function and to get the code. Follow this link http://boeprox.wordpress.com/2011/02/15/retrieving-weather-information-from-a-web-service-provider/.

Advertisements