You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update tiny11maker.ps1 - use dism with PowerShell commands
The idea of the release of this project is using PowerShell instead of commandline in the previous version, which is a great move and make it easier to maintain and read.
For sake of easier syntax and readability I have attempted using PowerShell commandlets for dism.
There are few remaining areas that need to be reworked (invoking dism.exe) to become fully consistent.
Export-WindowsImage-SourceImagePath $DriveLetter\sources\install.esd-SourceIndex$index-DestinationImagePath $ScratchDisk\tiny11\sources\install.wim-Compressiontype Maximum -CheckIntegrity
57
+
} else {
58
58
Write-Host"Can't find Windows OS Installation files in the specified Drive Letter.."
59
59
Write-Host"Please enter the correct DVD Drive Letter.."
# Compressiontype Recovery is not supported with PShell https://learn.microsoft.com/en-us/powershell/module/dism/export-windowsimage?view=windowsserver2022-ps#-compressiontype
368
+
Export-WindowsImage-SourceImagePath $ScratchDisk\tiny11\sources\install.wim -SourceIndex $index-DestinationImagePath $ScratchDisk\tiny11\sources\install2.wim -CompressionType Fast
0 commit comments