For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-OSDeployBootUSB

Creates a new bootable OSDeploy USB drive from an OSDeployCore BootImage build.

Property
Value

Module

OSDeploy

Platform

Windows 11 (amd64 / arm64)

Requires

Run as Administrator, a completed BootImage build, a USB drive ≥ 7 GB

Description

Prepares a USB drive for use as an OSDeploy bootable device. The function:

  • Prompts for selection of a completed BootImage from %ProgramData%\OSDeployCore\boot

  • Prompts for the specific bootmedia folder (bootmedia or bootmedia_ca2023)

  • Selects a suitable USB disk (7 GB–2 TB) via an interactive picker

  • Clears, partitions (MBR), and formats the selected disk:

    • 4 GB FAT32 active boot partition (labeled with -BootLabel)

    • NTFS remaining-space data partition (labeled with -DataLabel)

  • Copies the selected BootMedia to the FAT32 partition

Syntax

New-OSDeployBootUSB [-BootLabel <String>] [-DataLabel <String>]

Parameters

Parameter
Type
Required
Description

-BootLabel

String

No

Volume label for the FAT32 boot partition. Max 11 characters. Default: OSDEPLOY.

-DataLabel

String

No

Volume label for the NTFS data partition. Max 32 characters. Default: OSDCloud.

Examples

Last updated

Was this helpful?