Page 1 of 1

Using PowerShell BalloonTip and RSS Feed

Posted: Mon Apr 20, 2020 11:53 am
by probles40
Am developing a simple balloontip that can show the most recent rss feed alert to end user. This is the code that we have for displaying simple messages. How could I modify this code to pull most recent rss alerts.
  1. [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
  2.  
  3.  $objNotifyIcon = New-Object System.Windows.Forms.NotifyIcon
  4.  
  5.  $objNotifyIcon.Icon = [System.Drawing.SystemIcons]::Information
  6.  
  7.  $objNotifyIcon.BalloonTipIcon = "Info"
  8.  
  9.  $text = 'This is just a text'
  10.  
  11.  $objNotifyIcon.BalloonTipText = $text
  12.  
  13.  $objNotifyIcon.BalloonTipTitle = "Tip Title"
  14.  
  15.  $objNotifyIcon.Visible = $True
  16.  
  17.  $objNotifyIcon.ShowBalloonTip(30000)

Re: Using PowerShell BalloonTip and RSS Feed

Posted: Mon Apr 20, 2020 12:08 pm
by jvierra
RSS alerts are part of Windows 10 and later. Just set notifications on for RSS feeds.

YOU will have to use the low-level API to access the RSS feed. There are numerous clisnt apps that can do all of this.
Without knowing your RSS client it is not possible to guess at an answer.

Re: Using PowerShell BalloonTip and RSS Feed

Posted: Mon Apr 20, 2020 12:18 pm
by probles40
Thanks for the reply, this answer my forum question. By the way, jvierra, am sure that you are super busy, did you get a chance to see my last reply on the other question? Thanks for all your assistance. it is greatly appreciated. And, I do want to keep learning powershell.