Hello MPJZ,
Thank you for posting in Q&A forum.
You can try to add a script to a PXE configuration file to automate the process of setting the BIOS Boot Manager option. Here is a sample approach to integrate the PowerShell script into a PXE configuration:
1.Create a Task Sequence: In your deployment tool (e.g., Microsoft Configuration Manager), create a task sequence that includes steps to run the script ((e.g., PowerShell script) after the image is applied.
2.Add Script to Task Sequence: Add a step in the task sequence to run the script. This step should be placed after the operating system deployment step and before the final reboot.
3.Modify PXE Boot Configuration: Ensure that the PXE boot configuration includes the necessary settings to execute the task sequence. This may involve modifying the boot image to include the script and any required dependencies.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best Regards,
Daisy Zhou
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.