(computername)
Sets the computer name to the specified value.
Sets the computer name to the specified value.
Sets the computer name to the specified value .
def ConfigureComputerName(computername):
  """Sets the computer name to the specified value."""
  sc_prefs = SCPreferences()
  sc_prefs.SetComputerName(computername)
  sc_prefs.Save()
def ConfigureComputerName ( computername ) : sc_prefs = SCPreferences ( ) sc_prefs . SetComputerName ( computername ) sc_prefs . Save ( )