Last active
December 15, 2024 06:11
-
-
Save mikefrobbins/8d2e208f6a5729d1cf90a052eaa1d443 to your computer and use it in GitHub Desktop.
Revisions
-
mikefrobbins revised this gist
Dec 11, 2024 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ # Install the Microsoft.PowerShell.ConsoleGuiTools module Install-Module -Name Microsoft.PowerShell.ConsoleGuiTools # Select and open PowerShell podcast episode webpage with PowerShell Invoke-RestMethod -Uri https://feed.podbean.com/powershellpodcast/feed.xml | Select-Object -Property @{ label='title';expression={$_.title[0]}}, @{ -
mikefrobbins created this gist
Dec 11, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ Invoke-RestMethod -Uri https://feed.podbean.com/powershellpodcast/feed.xml | Select-Object -Property @{ label='title';expression={$_.title[0]}}, @{ label='date';expression={Get-Date -Date $_.pubDate -Format d}}, duration, link | Out-ConsoleGridView -OutputMode Single | Foreach-Object { Start-Process -FilePath $_.link }