March 17th, 2014

PowerTip: Use PowerShell to Find Blog Posts

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to easily find blog posts via RSS.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find a list of Hey, Scripting Guy! Blog posts without
          a lot of development work?

Hey, Scripting Guy! Answer Use the Invoke-RestMethod cmdlet and specify the URI for the Hey, Scripting Guy! Blog RSS feed:

$uri = http://blogs.technet.com/b/heyscriptingguy/atom.aspx

(Invoke-RestMethod $uri).title

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.