Send notification to remote computer

rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 1 Follower

Top 500 Contributor
14 Posts
rambog posted on 05-16-2012 3:44 PM

I have the code below taken from MSFT's site but I would like to have the notification balloon appear on a remote computer.  Please let me know how.


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

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

$objNotifyIcon.Icon = "C:\Program Files\Microsoft Office\Office14\Groove\ToolIcons\messageboxalert.ico"
$objNotifyIcon.BalloonTipIcon = "Info"
$objNotifyIcon.BalloonTipText = "This is a test message."
$objNotifyIcon.BalloonTipTitle = "Migration"

$objNotifyIcon.Visible = $True

All Replies

Top 25 Contributor
296 Posts
Microsoft MVP
Top Contributor

Put it in a script and run it a remote session or using invoke-command

Page 1 of 1 (2 items) | RSS
Copyright 2012 All rights reserved.