Requirement : Populate custom variables or inbuild variables by calling powershell or vbs script from customsetting.ini.
Example : i want to set OSDComputerName MDT variable after calling a script from customsetting.ini.
The script have necessary logic to create the computer name value and script will return computer name.
The customsetting.ini should receive the return value from script and update OSDComputerName variable
Is it possible to achieve ?
Could you please give me some pointers or blogs which explain how we can call powershell or vbs from customsetting.ini and manipulate the data based on the return value from script ?
verification