net name |
Adds or removes an alias for the computer.
net name [ alias [/add /delete] ]
Displays a list of names for which the computer accepts messages.
Specifies an alias (up to 15 characters ).
Adds an alias. (This switch is optional, as it is implied .)
Removes an alias.
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.
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.
net send