Windows Server 2003 in a Nutshell

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

See Also

net send

Категории