We are using SCCM CB Build 1710, and during an OSD to Unknown Computers, we capture the "OSDComputerName" - for example DEDS1234
What I would like to do further down the task sequence is use this same variable, in order to apply an oprating system with defined language pack (We have a single OS built, but an unattended.xml per language).
So in practice, if I want to build a German language PC, using the OSDComputerName DEDS1234, the "Apply operating system" step needs to aware that i've preset the OSDComputername to DEDS1234 - I imagine I can use a query to pick this up, simliar to IF OSDComputerName like DE______
If I then decide to build a French PC, using OSDComputerName FEDS1234 - same thing.
I have been able to in the past use a "OSDSelectOS" variable, and using 7 or 10 as the answer installed Win 7 or Win 10.
But I'm struggling to apply the same logic based on the name.