burn.ps1
is a PowerShell script intended to « burn » a raw disk image file on a removable USB drive.
> PowerShell -ExecutionPolicy ByPass -File path\to\burn.ps1 -Image path\to\raw\disk\image.img
The disk image file will be automatically requested by PowerShell if it is not provided on the command line.
Low-level access to a disk requires administrative privileges.
burn.ps1
has been tested with PowerShell version 5.1.18362.1474 ($Host.Version
) under Windows version 10.0.18363.0 ([Environment]::OSVersion.Version
).
burn.ps1
relies ondd-removable.exe
which is embedded directly in the script in the form of a string variable corresponding to a zip archive encoded in base 64.
See also :