Windows Server 2003 in a Nutshell

net send

Sends a message to users or computers on the network.

Syntax

net send { name * /domain[: name ] /users} message

Options

name

Sends the message to a specific recipient, which can be:

A logged-on user

user logon name

A computer name

NetBIOS name

A computer alias

see net name earlier in this chapter

*

Broadcasts the message to all registered NetBIOS names in the domain or workgroup

/domain[:name]

Broadcasts the message to all names in the local domain or a specified domain

/users

Sends the message to all users connected to the server

message

Is the actual message sent (no quotes required)

Examples

Send the message "Save your workrebooting in 5 minutes" to all users who have open sessions with the server:

net send /users Save your work--rebooting in 5 minutes

Notes

See Also

Shared Folders

Категории