Name
net name
Synopsis
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 will accept 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
Get Windows 2000 Administration in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.