Tag Archives: powershell

Web service and XML with Windows PowerShell .

In this tutorial I show you the basics of poarse XML file and acces website.

Also I show that with the graphical user interface (GUI) using Windows PowerShell

It is very easy to using a Web service in PowerShell V2.

We can use that with the new Cmdlet New-WebServiceProxy.

The PowerShell knows how to handle XML.We just need to cast it to an XML object

Let’s try to get weather from internet.

This is the source code:

Run this script with powershell or with Windows PowerShell Integrated Scripting Environment (ISE)

Now that we see weather infos from London City Airport – United Kingdom.

powershell weather

Posted in All, PowerShell, Programming, Windows 7. Tagged with , , .