$MachineName is a string which gives the assigned name of the computer on which Mathematica is being run, if such a name is defined.
For many classes of computers, $MachineName is the network host name.
$MachineName is "" if no name is defined.
See Section 2.14.5.
See also: $MachineDomain, $System, $MachineID.
New in Version 2.