Change hostname domain

I wish you can help me with a script to change the hostname on the computers so the computer is in the domain. what I get on the page does not work for me it indicates that I change the name but the team never changed its name

Hi @renato3222,

Please try this script to “Rename the computer added in the Domain”
https://scripts.itarian.com/frontend/web/topic/rename-the-computer-added-in-the-domain

Kind Regards,
PremJK