The ComputerName property provides a string representation of the computer name.
WshNetwork.ComputerName = strComputerName