Hello;
We have recently moved to SCCM 2012 for our deployment. Previously, we used KACE product to deploy all our OS needs. In our previous system I created auto naming the computers based on second octet of it’s IP address obtained from DHCP and the serial number. So, if the computer being deployed at a site had an IP address of 10.44.25.26, I would take the 44 add a dash followed by the serial number. Like this: 44-SerialNumber.
I am new to SCCM, and I am trying to figure out location prefix.
I know that I can create OSDComputerName “Task Sequence Variable” with the Value of %SERIALNUMBER% which will use WMI to pull the serial number , however I am not sure how pull in the second octet of the ip address. I do see a value called %DefaultGateway%, but not sure how to pull in the second octect out of it.
I have seen some configuration done in the CustomeSettings.ini file where you have declare all your locations by gateway and assign a value to it... But, I am wondering if this can be done from GUI Task Sequance settings. Perhaps, some condtions with IF statments.
I would really appriciate a little hand holding on this one.