feat: Add new checkbox to Inject Unattend.xml to VM.

- Creates a new parameter [bool]InjectUnattend

- This will take the FFUDevelopment\Unattend\unattend_[arch].xml file and copy it to the FFUDevelopment\Apps\Unattend and rename the file to unattend.xml.

- This is useful for situations where you don't use the USB drive for deploying the FFU but still have Unattend-related customizations that you want to apply.
This commit is contained in:
rbalsleyMSFT
2025-08-14 16:20:55 -07:00
parent 85383f989a
commit 8ab6603999
6 changed files with 45 additions and 8 deletions
@@ -131,6 +131,7 @@ function Get-GeneralDefaults {
CopyAutopilot = $false
CopyUnattend = $false
CopyPPKG = $false
InjectUnattend = $false
CleanupAppsISO = $true
CleanupCaptureISO = $true
CleanupDeployISO = $true