February 21st, 2018

PowerTip: Use PowerShell to read an RSS feed

Doctor Scripto
Scripter

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

 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.