PowerTip: Use PowerShell to read an RSS feed

Doctor Scripto

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

 

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment