Net Send Command Information

Net Send Command Examples, Switches, & More

What is the Net Send Command?

The net send command is a Command Prompt command used to send messages to users, computers, and messaging aliases on the network.

Windows XP was the last version of Windows to include the net send command. The msg command replaces the net send command in Windows 10, Windows 8, Windows 7, and Windows Vista.

The net send command is one of many net commands.

Net Send Command Syntax

net send {name | * | /domain[:domainname] | /users} message [/help] [/?]

Tip: See How To Read Command Syntax if you're not sure how to read the net send command syntax above.

name = This option specifies the username, computer name, or messaging name (defined with the net name command) that you want to send the message to.

* = Use the asterisk to send the message to every user in your current domain or workgroup.

/domain = This switch can be used alone to send the message to all the names in the current domain.

domainname = Use this option with /domain to send the message to all the users in the specified domainname.

/users = This option sends the message to all the users connected to the server that the net send command is being executed from.

message = This net send command option is obviously required and specifies the exact text of the message you're sending. The message can be a maximum of 128 characters and must be wrapped in double quotes if it contains a slash.

/help = Use this switch to display detailed information about the net send command. Using this option is the same as using the net help command with net send: net help send.

/? = The help switch also works with the net send command but only displays the basic command syntax. Executing net send without options is equal to using the /? switch.

Tip: You can store the output of the net send command in a file using a redirection operator with the command. See How To Redirect Command Output to a File for help or see Command Prompt Tricks for even more tips.

Net Send Command Examples

net send * Please proceed to CR103 immediately for a mandatory meeting

In this example, net send is used to send the Please proceed to CR103 immediately for a mandatory meeting message to all the members {*} of the current workgroup or domain.

net send /users "Will the person with the A7/3 client file open please save your work and close it? Thank you!"

Here, the net send command is used to send all the members of the current server {/users} the message Will the person with the A7/3 client file open please save your work and close it? Thank you!. The message is in quotes because a slash was used within the message.

net send smithm You're Fired!

While it's a completely unprofessional way to terminate someone's employment, in this example, the net send command is used to send Mike Smith, with the username smithm, a message I doubt he wanted to hear: You're Fired!.

Net Send Command Availability

The net send command is available from within the Command Prompt in Windows XP as well as in older versions of Windows and in some Windows Server operating systems.

Note: The availability of certain net send command switches and other net send command syntax may differ from operating system to operating system.

Net Send Related Commands

The net send command is a subset of the net command and so is similar to its sister commands like net use, net time, net user, net view, etc.