Invoke-OSDeployHydration
Property
Value
Description
Syntax
Invoke-OSDeployHydration [-Force] [-WhatIf] [-Confirm]Parameters
Parameter
Type
Required
Description
Examples
Last updated
Was this helpful?
Runs the complete OSDeploy hydration workflow end-to-end on a supported Windows 11 machine.
Module
OSDeploy
Platform
Windows 11 25H2 or 26H1 (amd64 / arm64)
Requires
PowerShell 7.6, Run as Administrator
Automates the full OSDeploy setup sequence:
Detects the running OS version and processor architecture.
Installs the matching Windows ADK, Git for Windows, Visual Studio Code, VS Code Insiders, and 7-Zip.
Downloads WinPE drivers for the detected architecture.
Builds a WinPE boot image named Hydra, using the newest available WinRE source when present, or falling back to the ADK WinPE when none is found.
Without -Force, interactive pickers (Out-GridView) are shown at each step. With -Force, the entire sequence runs non-interactively from start to finish.
Invoke-OSDeployHydration [-Force] [-WhatIf] [-Confirm]-Force
Switch
No
Runs all steps non-interactively. Skips Out-GridView pickers and processes all matching sources automatically.
Last updated
Was this helpful?
Was this helpful?
# Run the full hydration workflow with interactive pickers at each step
Invoke-OSDeployHydration# Run the full hydration workflow non-interactively
Invoke-OSDeployHydration -Force
