We are looking to eliminate PXE during our bare-metal provisioning process, which as far as I can tell will eliminate the auto-discovery of Devices into BSA. We plan to boot winpe as a bootable ISO, which is working. We are thinking of using NSH within the winpe environment to use "blcli_execute Provision importDeviceWithBootImage-api" to create the device on the fly and then continue on with the provisioning process. The only hurdle we have left is to obtain the MAC address from the target and push it into the "blcli_execute Provision importDeviceWithBootImage-api" command.
Does anyone know an efficient way to get the MAC address from the target within NSH and define a variable with it?