Hi,
Yes, we can use the task sequence step Apply Network Settings to specify the network (Domain, OU etc) or workgroup configuration information for the destination computer. The task sequence stores these values in the appropriate answer file. Windows Setup uses this answer file during the Setup Windows and ConfigMgr action.
Meanwhile, we can use the task sequence variable OSDComputerName (input) to specifies the name of the destination computer. The variable applies to the task sequence step Apply Windows Settings.
For more information, please refer to:
Task sequence step Apply Network Settings
Task sequence variable OSDComputerName (input)
Thanks for your time.
Best regards,
Simon