mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-30 12:41:46 +02:00
Updated news.ps1
This commit is contained in:
@ -14,11 +14,11 @@ try {
|
||||
[xml]$FileContent = (Invoke-WebRequest -Uri $RSS_URL).Content
|
||||
|
||||
write-output ""
|
||||
write-output "+++ " $FileContent.rss.channel.title " +++"
|
||||
write-output "+++ $($FileContent.rss.channel.title) +++"
|
||||
write-output ""
|
||||
|
||||
foreach ($item in $FileContent.rss.channel.item) {
|
||||
write-output "*" $item.title
|
||||
write-output "* $($item.title)"
|
||||
}
|
||||
exit 0
|
||||
} catch {
|
||||
|
Reference in New Issue
Block a user