rename computer name for sharepoint 2010

after rename computer name for sharepoint 2010, need this command:

stsadm -o renameserver -oldservername <YourOldServerName> -newservername <YourNewServerName>