Creating a bootable USB drive from the terminal. How to create a bootable Windows USB drive using PowerShell.
Terminal
Diskpart
list disk
Select Disk N (USB drive number)
clean
create partition primary
active
list volume
select volume 3
format fs=ntfs quick
assign
exit