|
# Set up the Microsoft.PowerShell.ConsoleGuiTools module |
|
Set up-Module -Title Microsoft.PowerShell.ConsoleGuiTools |
|
|
|
# Choose and open PowerShell podcast episode webpage with PowerShell |
|
Invoke-RestMethod -Uri https://feed.podbean.com/powershellpodcast/feed.xml | |
|
Choose-Object -Property @{ |
|
label=’title’;expression={$_.title[0]}}, @{ |
|
label=’date’;expression={Get-Date -Date $_.pubDate -Format d}}, |
|
length, |
|
hyperlink | |
|
Out-ConsoleGridView -OutputMode Single | |
|
Foreach-Object { |
|
Begin-Course of -FilePath $_.hyperlink |
|
} |