An example Windows PE (WinPE) iso built in a vagrant environment.
Install the Windows 2022 Base Box.
Build the ISO with:
vagrant up --no-destroy-on-error --no-tty build
When it finishes, you should have the ISO in the tmp/winpe-amd64.iso
file.
The ISO file can be written to an usb disk or pxe booted.
You can also try it with:
vagrant up --no-destroy-on-error --no-tty bios
vagrant up --no-destroy-on-error --no-tty uefi