Update documentation and enhance tiny11maker script

*merge from my old different pr.

## New parameter and improvement
- Updated script parameters to include a new $p_IsoDisk parameter.
- Renamed $ScratchDisk to $p_ScratchDisk throughout the script.
- Added logic to handle $p_IsoDisk, prompting user if not provided.
- Removed output of scratch disk setting.
- Change the ordre to match iso then scratch
- Rename parameter
- Adding pattern for second one too
- Adding synopsis with some informations on the script and calling exemples.

## New Functions for optimisation
- Introduced Remove-RegistryValue and Set-RegistryValue functions to replace direct reg commands for registry modifications.

## Auto Dismount
- Dismounting the iso image after process completion.

## SKU validation
- Added validation to ensure the entered index is valid by checking against available indices in the Windows image file.
- Introduced a loop to repeatedly prompt the user until a valid index is provided.

## Others
- Updated `.gitignore` to exclude Visual Studio files.
- Revised `README.md` for clarity and added new features.
This commit is contained in:
Miiraak
2025-08-31 12:27:32 +02:00
parent af69a48265
commit 5da84b9737
3 changed files with 252 additions and 154 deletions

6
.gitignore vendored Normal file
View File

@@ -0,0 +1,6 @@
################################################################################
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
################################################################################
/.vs/Tiny11builderDEV/CopilotIndices/17.14.1091.29919
/.vs