// Write ISO contents to USB isoStream.CopyTo(usbStream);
Microsoft provides WinPE as an add-on to the . This version is a "bare-bones" command-line environment and does not include a graphical user interface (GUI) or third-party tools out of the box. win10pe download
Download the Windows ADK and WinPE add-on directly from Microsoft Learn . // Write ISO contents to USB isoStream