I'm trying to get the $SERIALNUMBER to be the computer name of Macs that are joined to AD in a DEP PreStage Enrollment. $SERIALNUMBER doesn't seems to work it keeps defaulting to Macbook Air or whatever the device type is.
This device has been in JSS prior to re-enrollment. Any clues as to where I should be digging?