mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-23 14:18:38 +01:00
Updated news.ps1
This commit is contained in:
parent
9f027b60c5
commit
e8e57b8308
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user