Updated watch-news.ps1

This commit is contained in:
Markus Fleschutz 2024-11-13 15:10:12 +01:00
parent e9f0f17180
commit e52d80980c

View File

@ -42,7 +42,7 @@ function PrintLatestHeadlines([xml]$content, [string]$latestTimestamp, [string]$
try {
[xml]$content = (Invoke-WebRequest -URI $URL -useBasicParsing).Content
$title = $content.rss.channel.title
$title = $content.rss.channel.title.toUpper()
$link = $content.rss.channel.link
Write-Host "`n UTC $title - " -noNewline
Write-Host $link -foregroundColor blue