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

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

Comments (3)

  1. jrv says:

    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!

  2. guy says:

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

Skip to main content