Copy-IsoToUsb
Creates a bootable USB drive from a Windows ISO.
Property
Value
Module
OSD
Platform
WinPE (amd64 / arm64)
Description
Formats a selected USB disk, mounts the ISO, and copies installation files to the USB volume. Supports FAT32 or NTFS, optional bootsect execution, and optional splitting of large install.wim files.
Syntax
Copy-IsoToUsb [-ISOFile] <String> [-MakeBootable] [-NTFS] [-SplitWim] [[-USBLabel] <String>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]Parameters
Parameter
Type
Required
Description
-ISOFile
String
True
Full path to the ISO file to mount and copy.
-MakeBootable
SwitchParameter
False
Runs bootsect.exe against the USB drive after formatting.
-NTFS
SwitchParameter
False
Formats the USB drive as NTFS instead of FAT32.
-SplitWim
SwitchParameter
False
Forces splitting install.wim into .swm files during copy.
-USBLabel
String
False
File system label assigned to the USB drive.
Examples
Example
Example
Related
Last updated
Was this helpful?

