Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Script to send notification to another PC in the domain/Network PCs

Posted on 2013-11-12
11
Medium Priority
?
2,093 Views
Last Modified: 2014-02-16
Need a script or program to  send a taskbar notification to all domain added PCs

Guidance/Help is highly appreciated
0
Comment
Question by:MAS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 2

Assisted Solution

by:slavs
slavs earned 1336 total points
ID: 39643919
This article may help you out:

http://www.cezeo.com/tips-and-tricks/msg-command/
0
 
LVL 82

Expert Comment

by:leakim971
ID: 39644526
Do you have powershell enable on all your computer in the domain?
0
 
LVL 27

Author Comment

by:MAS
ID: 39645932
@slavs
I dont want to interrupt user activity.
There are users uploading data by data uploader.
This message should not disturb them.
That si the reason I am looking for taskbar notification. e.g. oulook new email notification

@ leakim971
We have both windows-XP and windows-7 PCs

Atleast a script which I can schedule from the local PCs on all PCs to run on every xhours will do the job. i.e. not mandatory to send through network. I will deploy the scheduled task through GP
0
Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

 
LVL 27

Author Comment

by:MAS
ID: 39652804
Waiting since2 days
0
 
LVL 2

Assisted Solution

by:slavs
slavs earned 1336 total points
ID: 39658128
You can use a Balloon Icon with Powershell.
The below script will do it for one PC, if you have remoting enabled and there are no firewall issues, I would suggest using "Invoke-Command" to send the command to multiple PCs at once.


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

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

$objNotifyIcon.Icon = "C:\IconExample.ico"
$objNotifyIcon.BalloonTipIcon = "Error" 
$objNotifyIcon.BalloonTipText = "This is your message." 
$objNotifyIcon.BalloonTipTitle = "Message Title"
 
$objNotifyIcon.Visible = $True 
$objNotifyIcon.ShowBalloonTip(10000)

Open in new window

0
 
LVL 27

Author Comment

by:MAS
ID: 39658485
@slavs
can you explain
1. how to save the code (which format)
2. how to run
3. Where is the name of the PC mentioned in the code.
0
 
LVL 27

Author Comment

by:MAS
ID: 39670094
Awaiting reply
0
 
LVL 40

Assisted Solution

by:Subsun
Subsun earned 664 total points
ID: 39670366
Earlier days, means for Win XP and previous systems we could use Net Send command to send messages to all computers.. but Vista onwards Net send wont work, so we have msg.exe to send messages to computers. You can refer following article which has a sample powershell code which uses msg command to send messages to a list of computers.. Check and see if it works for you..Else you need to look for third-party tools like LanTalk LAN messenger etc. Honestly I don't see any other option for you.. Good luck.. :)

http://subodhuniyal.wordpress.com/2012/08/07/power-shell-script-to-send-message-to-network-computers-2/

Also check http://www.winsentmessenger.com/sent/
0
 
LVL 27

Accepted Solution

by:
MAS earned 0 total points
ID: 39774333
For the time being I have created scheduled tasks to send a popup locally on all PCs till I get a good solution
0
 
LVL 27

Author Closing Comment

by:MAS
ID: 39858501
Closing the question for now.
I will start a new question when I get a better solution than this
0

Featured Post

Introducing the WatchGuard 420 Access Point

WatchGuard's newest access point includes an 802.11ac Wave 2 chipset, providing the fastest speeds for VoIP, video and music streaming, and large data file transfers. Additionally, enjoy the benefits of strong security as the 3rd radio delivers dedicated WIPS protection!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An article on effective troubleshooting
My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question