mirror of
https://github.com/rbalsleyMSFT/FFU.git
synced 2026-06-14 02:09:35 -06:00
Add clarifying comments to Install-ADK function
This commit is contained in:
@@ -502,11 +502,13 @@ function Install-ADK {
|
||||
throw "Failed to retrieve URL for $ADKOption. Please manually install it."
|
||||
}
|
||||
|
||||
# Select the installer based on the ADK option specified
|
||||
$installer = @{
|
||||
"Windows ADK" = "adksetup.exe"
|
||||
"WinPE add-on" = "adkwinpesetup.exe"
|
||||
}[$ADKOption]
|
||||
|
||||
# Select the feature based on the ADK option specified
|
||||
$feature = @{
|
||||
"Windows ADK" = "OptionId.DeploymentTools"
|
||||
"WinPE add-on" = "OptionId.WindowsPreinstallationEnvironment"
|
||||
|
||||
Reference in New Issue
Block a user