net name


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



Windows Server 2003 in a Nutshell
Windows Server 2003 in a Nutshell
ISBN: 0596004044
EAN: 2147483647
Year: 2003
Pages: 415
Authors: Mitch Tulloch

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net