Get Quotes From the Webservices

by Mar 15, 2013

There are plenty of free webservices around, and provided you have direct Internet access (no proxy), you can use New-WebServiceProxy to access them. In a previous tip, we explained how you can access a weather forecast webservice. Today, we'd like to invite you to play with a "quote server":

PS> $w = New-WebServiceProxy -Uri 'http://ryanrusson.com/ws/WS.asmx?WSDL'
PS> $w.ChimpOmatic().Tables[0] | Select-Object -ExpandProperty Quote
It's negative to think about blowing each other up. That's not a positive thought. That's a Cold War thought. That's a thought when people were enemies with each other.

Twitter This Tip! ReTweet this Tip!