PowerTip: Use PowerShell to Keep Up-to-Date with the 2013 Scripting Games

Doctor Scripto

Summary: Use Windows PowerShell to help you stay up-to-date with the 2013 Scripting Games.

Hey, Scripting Guy! Question How can I use Windows PowerShell to obtain an RSS feed of all 2013 Scripting Games content from the Scripting Guys?

Hey, Scripting Guy! Answer Use the Invoke-RestMethod cmdlet in Windows PowerShell 3.0 and specify the uri for the Scripting Guys 2013 Scripting Games RSS feed. Select the Title and the Pubdate, or even the Link to the blog posting.

Note  You can play with the RSS feed URL in Internet Explorer to ensure that you get the information you want to obtain.

$sg2013 = ‘http://blogs.technet.com/b/heyscriptingguy/rss.aspx?tags=2013+scripting+games/’

Invoke-RestMethod -Uri $sg2013 | select title, pubdate

0 comments

Discussion is closed.

Feedback usabilla icon