mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-10 18:44:50 +02: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
|
[xml]$FileContent = (Invoke-WebRequest -Uri $RSS_URL).Content
|
||||||
|
|
||||||
write-output ""
|
write-output ""
|
||||||
write-output "+++ " $FileContent.rss.channel.title " +++"
|
write-output "+++ $($FileContent.rss.channel.title) +++"
|
||||||
write-output ""
|
write-output ""
|
||||||
|
|
||||||
foreach ($item in $FileContent.rss.channel.item) {
|
foreach ($item in $FileContent.rss.channel.item) {
|
||||||
write-output "*" $item.title
|
write-output "* $($item.title)"
|
||||||
}
|
}
|
||||||
exit 0
|
exit 0
|
||||||
} catch {
|
} catch {
|
||||||
|
Loading…
Reference in New Issue
Block a user