Solved

Broadcast to active directory user, regardless of which computer, using the command line

Posted on 2014-12-07
11
400 Views
Last Modified: 2014-12-07
I need to send a broadcast message to an employee that is in active directory, regardless of which computer they are on.

Assistance is greatly appreciated.
0
Comment
Question by:frugalmule
[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
  • 5
  • 4
  • 2
11 Comments
 
LVL 12

Expert Comment

by:andreas
ID: 40485762
net send USERNAME messagetest

ist not doing the desired result? as far as i remember it should be like this. its long long ago as i used this feature before.
0
 

Author Comment

by:frugalmule
ID: 40485789
syntax not working
0
 
LVL 24

Accepted Solution

by:
NVIT earned 500 total points
ID: 40485791
Up to XP: net send username "Message"
Windows 2000, XP, 7, 8, ...: msg username "Message"
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 

Author Closing Comment

by:frugalmule
ID: 40485814
Outstanding!   Is it possible to have them interact with me through that command?
0
 

Author Comment

by:frugalmule
ID: 40485816
How do I write it to have it send to multiple users?
0
 
LVL 12

Expert Comment

by:andreas
ID: 40485818
they can use the same command to answer, just replace the username with your username. If thats enough interaction for you, then yes they can.
0
 
LVL 24

Expert Comment

by:NVIT
ID: 40485825
To send to multiple users, you have to decide to send to: 1) Everyone on domain. 2) Certain users only.

Certain users: for %%C in (user1 user2 user3) do msg %%C Message

Everyone on domain: for /F "delims=\" %%C in ('net view ^| find "\\"') do msg * /server:%%C /time:30 Hey^!

See Qlemo's solution at http://www.experts-exchange.com/Security/Operating_Systems_Security/Q_26314939.html#a33440032
0
 

Author Comment

by:frugalmule
ID: 40485827
Interesting.  I was doing this to myself but now that I try it with other network users, I get the message "does not exist or is disconnected".  This happens whenever I use the syntax msg username message or msg ipaddress message.
0
 
LVL 24

Expert Comment

by:NVIT
ID: 40485833
Not certain but I think the user must be logged on?
0
 

Author Comment

by:frugalmule
ID: 40486056
They are.  That's what is so interesting.
0
 
LVL 24

Expert Comment

by:NVIT
ID: 40486079
Try
Msg * /SERVER:yourservernamehere "hello everyone!"
What does that do?
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSRS - Powershell 7 73
Copy-Item -UseTransaction not working 2 33
Convert (short) Powershell script to VBS 8 41
Active Directory Powershell Script 9 24
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

740 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