mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-19 16:38:17 +02:00
Update list-news.ps1
This commit is contained in:
parent
ffe8bcc3d7
commit
b94c006e94
@ -31,7 +31,7 @@ try {
|
|||||||
if ($count++ -eq $maxLines) { break }
|
if ($count++ -eq $maxLines) { break }
|
||||||
}
|
}
|
||||||
$URL = $content.rss.channel.link
|
$URL = $content.rss.channel.link
|
||||||
" (UTC) Read more at: $URL"
|
" <UTC> <Read more at: $URL>"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user