Import-OSDeployCoreOS
Last updated
Was this helpful?
Imports Windows OS images from mounted Windows installation media to OSDeployCore.
Module
OSDeploy
Platform
Windows 11 (amd64 / arm64)
Requires
PowerShell 7.6, Run as Administrator, a mounted Windows installation ISO
Extracts and imports Windows OS and WinRE images from mounted Windows installation media (ISO). The function:
Validates administrator privileges
Scans for mounted Windows installation media ISO files
Displays an Out-GridView selection dialog for available installation indexes
Exports the selected Windows image (install.wim) and all media files
Extracts WinRE, WinPE, and WinSE images with metadata
Backs up registry hives, boot files, and OS system files
Creates a parallel windows-re directory with WinRE-specific content
Imported images are stored under $env:ProgramData\OSDeployCore with a naming convention of build.revision-architecture-editionid-language (for example, 26200.8037-amd64-enterprise-en-us). Duplicate imports are detected and skipped automatically.
Supports both amd64 and arm64 Windows 11 installation media.
Mount the Windows installation ISO via File Explorer before running this function. The ISO must be mounted and visible as a drive letter.
This function has no named parameters. All selections are made via interactive Out-GridView dialogs.
Last updated
Was this helpful?
Was this helpful?
Import-OSDeployCoreOS [-WhatIf] [-Confirm]# Scan for mounted Windows ISOs and import via interactive selection
Import-OSDeployCoreOS# Import with detailed verbose output showing each extraction step
Import-OSDeployCoreOS -Verbose
