@{ Id = 'UEFI-GPT-WinRE-C-D' Name = 'UEFI / GPT — WinRE, C: et D:' Description = "Crée EFI, MSR et WinRE, puis C: selon la taille choisie et D: avec l’espace restant." Default = $false Firmware = 'UEFI' PartitionStyle = 'GPT' Partitions = @( @{ Name = 'EFI' Role = 'System' FileSystem = 'FAT32' GptTypeId = 'C12A7328-F81F-11D2-BA4B-00A0C93EC93B' Size = @{ Policy = 'FixedMB'; Value = 300 } } @{ Name = 'MSR' Role = 'Reserved' FileSystem = $null GptTypeId = 'E3C9E316-0B5C-4DB8-817D-F92DF00215AE' Size = @{ Policy = 'FixedMB'; Value = 16 } } @{ Name = 'WinRE' Role = 'Recovery' FileSystem = 'NTFS' GptTypeId = 'DE94BBA4-06D1-4D40-A16A-BFD50179D6AC' GptAttributes = '0x8000000000000001' Size = @{ Policy = 'ConfiguredMB'; ConfigKey = 'WinRESizeMB'; Value = 1024; PreviewMB = 1024 } } @{ Name = 'Windows' Role = 'Windows' FileSystem = 'NTFS' GptTypeId = 'EBD0A0A2-B9E5-4433-87C0-68B6B72699C7' DriveLetter = 'C' DriveLetterAfterReboot = 'C' Size = @{ Policy = 'UserInputGB'; MinimumGB = 40; DefaultPercent = 60; Label = 'Taille de C:' } } @{ Name = 'Data' Role = 'Data' FileSystem = 'NTFS' GptTypeId = 'EBD0A0A2-B9E5-4433-87C0-68B6B72699C7' DriveLetter = 'D' DriveLetterAfterReboot = 'D' Size = @{ Policy = 'RemainderAfterInputs'; MinimumGB = 1; Label = 'Taille de D: (espace restant)' } } ) }