jwood803
8/24/2013 - 6:49 PM

Using PowerShell to call third party site and get the results.

Using PowerShell to call third party site and get the results.

$url = "http://blogs.msdn.com/b/MainFeed.aspx?Type=BlogsOnly"
$result = Invoke-WebRequest $url 

$xml = [xml]$result
$xml.rss.channel
Set-Location C:\MyScript
$relativePath = Get-Item Data\Test.txt | Resolve-Path -Relative