From 6737539e09ab09516e51ee0f0b23d740f9a7a377 Mon Sep 17 00:00:00 2001 From: dsx42 Date: Sat, 2 Jul 2022 23:52:36 +0800 Subject: [PATCH] =?UTF-8?q?GPT=20=E5=88=86=E5=8C=BA=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=20MSR=20=E5=88=86=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UnattendTool.ps1 | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/UnattendTool.ps1 b/UnattendTool.ps1 index 4bc8a7e..c9004f8 100644 --- a/UnattendTool.ps1 +++ b/UnattendTool.ps1 @@ -534,19 +534,19 @@ function ShowCreatePartition { 'Extend' = $false; 'IsHidden' = $true; 'IsBoot' = $false - }; - '2' = @{ - 'Order' = 2; - 'Size' = 128; - 'Type' = 'MSR'; - 'TypeName' = '微软保留分区'; - 'FileSystem' = ''; - 'Extend' = $false; - 'IsHidden' = $true; - 'IsBoot' = $false } - } - $PartitionNumber = 2 + #'2' = @{ + # 'Order' = 2; + # 'Size' = 128; + # 'Type' = 'MSR'; + # 'TypeName' = '微软保留分区'; + # 'FileSystem' = ''; + # 'Extend' = $false; + # 'IsHidden' = $true; + # 'IsBoot' = $false + #} + } + $PartitionNumber = 1 Write-Host -Object '===============' Write-Host -Object '创建新 GPT 分区' Write-Host -Object '==============='