PSWindowsImageTools

2026.9.4.1

Comprehensive PowerShell module for Windows image management, customization, and deployment automation. Features native DISM API integration, registry operations, driver management, wallpaper configuration, Autopilot setup, and Windows Update catalog integration with enterprise-grade tools for WIM/ESD manipulation.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PSWindowsImageTools -RequiredVersion 2026.9.4.1

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name PSWindowsImageTools -Version 2026.9.4.1

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

Copyright (c) 2025 PSWindowsImageTools. All rights reserved.

Package Details

Author(s)

  • PSWindowsImageTools

Tags

Windows Image WIM ESD ISO DISM Customization Updates WindowsUpdate Catalog Autopilot Unattend Drivers WinPE ADK Recipe PowerShell

Cmdlets

Get-WindowsImageList Mount-WindowsImageList Dismount-WindowsImageList Convert-ESDToWindowsImage Export-WindowsImage New-WindowsImageISO Get-WindowsISODownloadInfo Save-WindowsISO Export-WindowsISO Search-WindowsUpdateCatalog Get-WindowsUpdateDownloadUrl Get-PatchTuesday Save-WindowsUpdateCatalogResult Install-WindowsImageUpdate Get-WindowsReleaseInfo Add-SetupCompleteAction Reset-WindowsImageBase Invoke-MediaDynamicUpdate Set-WindowsImageWallpaper Get-INFDriverList Add-INFDriverList Get-WindowsImageDriver Remove-WindowsImageDriver Compare-WindowsImageDriver Export-WindowsImageDriver Get-ADKInstallation Get-WinPEOptionalComponent Add-WinPEOptionalComponent Install-ADK Uninstall-ADK Remove-AppXProvisionedPackageList Get-WindowsImagePackageList Get-WindowsImageFeatureList Add-WindowsImagePackage Enable-WindowsImageFeature Disable-WindowsImageFeature Add-WindowsImageCapability Remove-WindowsImageCapability Get-WindowsImageComponentStore Optimize-WindowsImageComponentStore Invoke-WindowsImageHealthCheck New-WindowsImageRecipe Test-WindowsImageRecipe Invoke-WindowsImageRecipe Get-MountedWindowsImage Update-WindowsImageOnline Get-WindowsImageSnapshot Compare-WindowsImage Export-WindowsImageSBOM Get-RegistryOperationList Write-RegistryOperationList Get-RegistryHiveOnDemand Get-AutopilotConfiguration Set-AutopilotConfiguration Export-AutopilotConfiguration Install-AutopilotConfiguration New-AutopilotConfiguration Get-UnattendXMLConfiguration Set-UnattendXMLConfiguration Export-UnattendXMLConfiguration Install-UnattendXMLConfiguration New-UnattendXMLConfiguration

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

Modernized architecture and major feature expansion:

NEW CMDLETS (18):
• Recipe-driven builds: New/Test/Invoke-WindowsImageRecipe (declarative JSON image builds)
• Package/feature management: Get-WindowsImagePackageList, Get-WindowsImageFeatureList,
 Add-WindowsImagePackage, Enable/Disable-WindowsImageFeature, Add/Remove-WindowsImageCapability
• Export-WindowsImage (native WIM API: compression, boot flag, rename, index-by-name)
• New-WindowsImageISO (bootable ISOs via oscdimg)
• Get-MountedWindowsImage (cross-session mount registry)
• Update-WindowsImageOnline (one-liner: latest KB discovery, download, install)
• Image diffing: Get-WindowsImageSnapshot + Compare-WindowsImage (before/after audits)

IMPROVEMENTS:
• Unified DISM service: single API lifecycle, native progress callbacks, real error HRESULTs
• Consolidated registry services: in-memory hive reads (no mounting, no file handles)
• ISO input support in Get-WindowsImageList
• Full DISM write API implemented (packages, features, capabilities, AppX, drivers)
• Full Get-Help coverage for every cmdlet (PlatyPS-generated)
• 99 unit tests with CI; complete documentation rewrite

FIXES:
• Get-RegistryHiveOnDemand is now actually exported (was silently missing)
• Mount/unmount failures carry real DISM error messages
• Removed all GC-based handle workarounds

FileList

  • PSWindowsImageTools.nuspec
  • PSWindowsImageTools.psd1
  • bin\HtmlAgilityPack.dll
  • bin\Microsoft.Dism.dll
  • bin\Microsoft.Win32.Registry.dll
  • bin\Newtonsoft.Json.dll
  • bin\PSWindowsImageTools.dll
  • bin\Registry.dll
  • bin\Serilog.dll
  • bin\System.Runtime.CompilerServices.Unsafe.dll
  • bin\System.Text.Encoding.CodePages.dll
  • en-US\PSWindowsImageTools.dll-Help.xml

Version History

Version Downloads Last updated
2026.9.4.2 4 9/5/2026
2026.9.4.1 (current version) 7 9/4/2026
2025.9.4.1 5 9/4/2026