From 372360d7392ad945be0db889a68e1fff0ed3b5d6 Mon Sep 17 00:00:00 2001 From: rbalsleyMSFT <53497092+rbalsleyMSFT@users.noreply.github.com> Date: Wed, 3 Sep 2025 12:06:11 -0700 Subject: [PATCH] Update default disk size to 50GB in FFU scripts and UI - Changed the default disk size parameter from 30GB to 50GB in BuildFFUVM.ps1 and FFUUI.Core.psm1 to accommodate larger virtual machines. - Updated tooltip and default value in the UI XAML file to reflect the new disk size. --- FFUDevelopment/BuildFFUVM.ps1 | 6 +++--- FFUDevelopment/BuildFFUVM_UI.xaml | 4 ++-- FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/FFUDevelopment/BuildFFUVM.ps1 b/FFUDevelopment/BuildFFUVM.ps1 index 00186ba..7bee540 100644 --- a/FFUDevelopment/BuildFFUVM.ps1 +++ b/FFUDevelopment/BuildFFUVM.ps1 @@ -70,7 +70,7 @@ When set to $true, this will create WinPE deployment media for use when deployin Sets a custom FFU output name with placeholders. Allowed placeholders are: {WindowsRelease}, {WindowsVersion}, {SKU}, {BuildDate}, {yyyy}, {MM}, {dd}, {H}, {hh}, {mm}, {tt}. .PARAMETER Disksize -Size of the virtual hard disk for the virtual machine. Default is a 30GB dynamic disk. +Size of the virtual hard disk for the virtual machine. Default is a 50GB dynamic disk. .PARAMETER DriversFolder Path to the drivers folder. Default is $FFUDevelopmentPath\Drivers. @@ -304,7 +304,7 @@ param( [string]$Model, [bool]$InstallDrivers, [uint64]$Memory = 4GB, - [uint64]$Disksize = 30GB, + [uint64]$Disksize = 50GB, [int]$Processors = 4, [string]$VMSwitchName, [string]$VMLocation, @@ -2339,7 +2339,7 @@ function New-ScratchVhdx { param( [Parameter(Mandatory = $true)] [string]$VhdxPath, - [uint64]$SizeBytes = 30GB, + [uint64]$SizeBytes = 50GB, [uint32]$LogicalSectorSizeBytes, [switch]$Dynamic, [Microsoft.PowerShell.Cmdletization.GeneratedTypes.Disk.PartitionStyle]$PartitionStyle = [Microsoft.PowerShell.Cmdletization.GeneratedTypes.Disk.PartitionStyle]::GPT diff --git a/FFUDevelopment/BuildFFUVM_UI.xaml b/FFUDevelopment/BuildFFUVM_UI.xaml index 0a5bc3d..96ab64b 100644 --- a/FFUDevelopment/BuildFFUVM_UI.xaml +++ b/FFUDevelopment/BuildFFUVM_UI.xaml @@ -115,9 +115,9 @@ - + - + diff --git a/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 b/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 index d8edfa2..04c7869 100644 --- a/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 +++ b/FFUDevelopment/FFUUI.Core/FFUUI.Core.psm1 @@ -141,7 +141,7 @@ function Get-GeneralDefaults { RemoveUpdates = $false # Hyper-V Settings Defaults VMHostIPAddress = "" - DiskSizeGB = 30 + DiskSizeGB = 50 MemoryGB = 4 Processors = 4 VMLocation = $vmLocationPath