Occasional Contributor

Hi I have see many blog how to set computer host name during the windows autopilot few sample examples mentioned in below. 

 

https://oofhours.com/2020/05/19/renaming-autopilot-deployed-hybrid-azure-ad-join-devices/

https://www.anoopcnair.com/computer-name-during-windows-autopilot-intune/

 

This question I am posting which one is best option and or any another suggested way to set computer which is easy and more reliable ?