1
0
mirror of https://github.com/fleschutz/PowerShell.git synced 2025-06-02 08:25:42 +02:00

Updated news.ps1

This commit is contained in:
Markus Fleschutz 2020-12-25 10:49:45 +00:00
parent 9f027b60c5
commit e8e57b8308

@ -14,11 +14,11 @@ try {
[xml]$FileContent = (Invoke-WebRequest -Uri $RSS_URL).Content [xml]$FileContent = (Invoke-WebRequest -Uri $RSS_URL).Content
write-output "" write-output ""
write-output "+++ " $FileContent.rss.channel.title " +++" write-output "+++ $($FileContent.rss.channel.title) +++"
write-output "" write-output ""
foreach ($item in $FileContent.rss.channel.item) { foreach ($item in $FileContent.rss.channel.item) {
write-output "*" $item.title write-output "* $($item.title)"
} }
exit 0 exit 0
} catch { } catch {