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

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

  • Comments 3
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Very clever Ed!  Thanks!

  • In order to gain some order over this chaos we will need to do thusly:

    Invoke-RestMethod -Uri $sg2013 |

        select title, @{N='PubDate';E={[datetime]$_.pubdate}} |

        sort pubdate

    Happy Games!

  • Can you explain the difference between this and the Invoke-WebRequest cmdlet