mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-21 15:33:15 +01:00
Updated watch-news.ps1
This commit is contained in:
parent
e9f0f17180
commit
e52d80980c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user