# Set notification title and message. $Title = “Notification Title” $Message = “This is the notification message. This is the notification message. This is the notification message. This is the notification message.”

How long to display the notification in milliseconds.

Must be between 10 and 30 seconds.

$Timeout = 30000

Balloon icon type: None, Info, Warning or Error.

$BalloonIcon = “info”

Path to icon to display in taskbar.

$TaskbarIconPath = “C:\spc.ico”

[void] [System.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”)

$NotifyIcon = New-Object System.Windows.Forms.NotifyIcon

$NotifyIcon.Icon = $TaskbarIconPath $NotifyIcon.BalloonTipTitle = $Title $NotifyIcon.BalloonTipText = $Message $NotifyIcon.BalloonTipIcon = $BalloonIcon

$NotifyIcon.Visible = $True $NotifyIcon.ShowBalloonTip($Timeout)