Professional Windows Server 1002003 Security A Technical Reference [Electronic resources]

Roberta Bragg

نسخه متنی -صفحه : 415/ 334
نمايش فراداده

net name

Adds or removes an alias for the computer.

Syntax

net name [alias [/add | /delete] ]

Options

None

Displays a list of names for which the computer accepts messages.

alias

Specifies an alias (up to 15 characters).

/add

Adds an alias. (This switch is optional, as it is implied.)

/delete

Removes an alias.

Examples

Display the names that your computer responds to for messages sent over the network using the Messenger service:

net name
Name
----------------------------------------------
TEST
NETSHOWSERVICES
The command completed successfully.

Add the alias hellothere for the computer:

net name hellothere /add
The message name HELLOTHERE was added successfully.

Notes

  • Aliases must be unique to the network and may not be the same as a computer name or username elsewhere on the network. If an alias duplicates an existing computer name and either machine is rebooted, the Messenger service will fail to start on the restarted machine.

  • The Messenger service must be running.

See Also

net send