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."
|
throw "Failed to retrieve URL for $ADKOption. Please manually install it."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Select the installer based on the ADK option specified
|
||||||
$installer = @{
|
$installer = @{
|
||||||
"Windows ADK" = "adksetup.exe"
|
"Windows ADK" = "adksetup.exe"
|
||||||
"WinPE add-on" = "adkwinpesetup.exe"
|
"WinPE add-on" = "adkwinpesetup.exe"
|
||||||
}[$ADKOption]
|
}[$ADKOption]
|
||||||
|
|
||||||
|
# Select the feature based on the ADK option specified
|
||||||
$feature = @{
|
$feature = @{
|
||||||
"Windows ADK" = "OptionId.DeploymentTools"
|
"Windows ADK" = "OptionId.DeploymentTools"
|
||||||
"WinPE add-on" = "OptionId.WindowsPreinstallationEnvironment"
|
"WinPE add-on" = "OptionId.WindowsPreinstallationEnvironment"
|
||||||
|
|||||||
Reference in New Issue
Block a user