PowerTip: Use PowerShell to read an RSS feed

The Scripting Guys

Dr Scripto

Summary: “Hey, Scripting Guy!” shows you how to use Invoke-RestMethod to read a list of entries from an RSS feed.

 How can I use Windows PowerShell to see the list of articles from an RSS feed?

      Just use the Invoke-RestMethod and provide the full path to the link to the RSS feed. Here is an example:

   Invoke-RestMethod -Uri ‘https://blogs.technet.microsoft.com/heyscriptingguy/rss.aspx

 

The Scripting Guys
Dr Scripto

Follow Dr Scripto   

No Comments.