Private/OptimizeVirtualDisk.ps1

function OptimizeVirtualDisk {
    [CmdletBinding(SupportsShouldProcess)]
    param (
        [Parameter(Mandatory)]
        [string]
        $FilePath
    )


    if (!(TestVHDFileValid $FilePath)) {
        return
    }

    $alreadyMounted = $false
    $dismountRequired = $false

    try {
        Write-Verbose "Getting disk image for VHD '$FilePath'."
        $diskImage = Get-DiskImage -ImagePath $FilePath -ErrorVariable err

        if ($null -eq $diskImage) {
            Write-Error "Failed to obtain disk image for VHD '$FilePath': $err"
            return
        }

        $startingSize = $diskImage.FileSize
        $alreadyMounted = $diskImage.Attached -eq $true

        if (!$alreadyMounted) {
            Write-Verbose "Mounting VHD file '$FilePath'."
            Mount-VHD -Path $FilePath -ErrorVariable err

            if ($err) {
                Write-Error "Failed to mount VHD '$FilePath': $err"
                return
            }

            Write-Verbose "VHD was mounted successfully. Getting disk image from it."
            $dismountRequired = $true
            $diskImage = Get-DiskImage -ImagePath $FilePath -ErrorVariable err

            if ($err) {
                Write-Error "Failed to obtain disk image for VHD '$FilePath' after mounting it. The error was: $err"
                return
            } elseif (!$diskImage) {
                Write-Error "Failed to obtain disk image for VHD '$FilePath' after mounting it."
                return
            }
        }

        if ($null -eq $diskImage.Number) {
            Write-Error "Failed to obtain disk image number for VHD '$FilePath'."
            return
        }

        #(c) 2024 AJ Tek Corporation. All Rights Reserved
        $vhdDisk = $diskImage | Get-Disk -ErrorAction SilentlyContinue -ErrorVariable err

        if ($null -eq $vhdDisk) {
            Write-Error "Failed to obtain disk from disk image for VHD '$FilePath'. The error was: $err"
            return
        } elseif (!$vhdDisk) {
            Write-Error "Failed to obtain disk from disk image for VHD '$FilePath'."
            return
        }

        $vhdPartition = Get-Partition -DiskNumber $vhdDisk.Number -ErrorVariable err

        if ($err) {
            Write-Warning "Failed to obtain partition from disk number $($vhdDisk.Number) for VHD '$FilePath'. The error was: $err"
            return
        } elseif (!$vhdPartition) {
            Write-Warning "Failed to obtain partition from disk number $($vhdDisk.Number) for VHD '$FilePath'."
            return
        }

        $win32Volumes = Get-CimInstance Win32_Volume -Verbose:$false -ErrorAction SilentlyContinue

        try {
            $defragFinishedNormally = $false
            $defragErrorRaised = $false

            #! Be careful adjusting this. If refactoring $partition ensure that all $job.Command.Replace('$partition.DriveLetter', ...) calls are updated as well.
            foreach ($partition in $vhdPartition) {
                if ($partition.DriveLetter -eq [char]0) {
                    Write-Verbose "Skipping partition #$($partition.PartitionNumber) (empty drive letter)."
                    continue
                } elseif ($Script:VALID_VOLUME_LETTERS -notcontains $partition.DriveLetter) {
                    Write-Verbose "Skipping partition #$($partition.PartitionNumber) (invalid drive letter '$($partition.DriveLetter)')."
                    continue
                }

                $targetWin32Volume = $win32Volumes | Where-Object { $_.DeviceID -eq "\\?\Volume$($partition.Guid)\" }
                $volumeLabel = ""

                if ($targetWin32Volume -and ![string]::IsNullOrWhiteSpace($targetWin32Volume.Label)) {
                    $volumeLabel = " (DriveName '$($targetWin32Volume.Label)')"
                }

                #(c) 2024 AJ Tek Corporation. All Rights Reserved

                Write-Verbose "Invoking Optimize-Volume for DriveLetter '$($partition.DriveLetter)'$($volumeLabel) with parameters: -Defrag"
                $job = Optimize-Volume -DriveLetter $partition.DriveLetter -Defrag -ErrorAction Stop -AsJob
                WriteCustomJobProgress -Job $job -Activity $job.Command.Replace('$partition.DriveLetter', "'$($partition.DriveLetter)'$($volumeLabel)")

                Write-Verbose "Invoking Optimize-Volume for DriveLetter '$($partition.DriveLetter)'$($volumeLabel) with parameters: -SlabConsolidate -ReTrim"
                $job = Optimize-Volume -DriveLetter $partition.DriveLetter -SlabConsolidate -ReTrim -ErrorAction Stop -AsJob
                WriteCustomJobProgress -Job $job -Activity $job.Command.Replace('$partition.DriveLetter', "'$($partition.DriveLetter)'$($volumeLabel)")

                Write-Verbose "Invoking Optimize-Volume for DriveLetter '$($partition.DriveLetter)'$($volumeLabel) with parameters: -Defrag"
                $job = Optimize-Volume -DriveLetter $partition.DriveLetter -Defrag -ErrorAction Stop -AsJob
                WriteCustomJobProgress -Job $job -Activity $job.Command.Replace('$partition.DriveLetter', "'$($partition.DriveLetter)'$($volumeLabel)")

                Write-Verbose "Invoking Optimize-Volume for DriveLetter '$($partition.DriveLetter)'$($volumeLabel) with parameters: -SlabConsolidate"
                $job = Optimize-Volume -DriveLetter $partition.DriveLetter -SlabConsolidate -ErrorAction Stop -AsJob
                WriteCustomJobProgress -Job $job -Activity $job.Command.Replace('$partition.DriveLetter', "'$($partition.DriveLetter)'$($volumeLabel)")
            }

            $defragFinishedNormally = $true
        } catch {
            $defragErrorRaised = $true
            Write-Error "Error while defragmenting partition with drive letter '$($partition.DriveLetter)'$($volumeLabel): $_`r`n`r`nNo other partitions will be defragmented, and the final VHD optimization via Optimize-VHD will be skipped."
            return
        } finally {
            if (!$defragFinishedNormally -and !$defragErrorRaised) {
                Write-Warning "Detected a CTRL+C abort while defragmenting. It is highly recommended that you run checkdisk on the volume to prevent any corruption/data loss."
            }
        }

        Write-Verbose "Defragmentation succeeded! Dismounting VHD and starting final optimization via Optimize-VHD."
        Dismount-VHD -Path $FilePath -ErrorVariable err

        if ($err) {
            # This is a terminating error since we don't want to eat up all the available drive letters on the system.
            throw "Failed to dismount VHD file before final optimization. The error was: $err"
        }

        $dismountRequired = $false
        $optimizeFinishedNormally = $false
        $optimizeErrorRaised = $false
        Write-Verbose "Optimizing and compressing VHD file '$FilePath'."

        try {
            [void](Optimize-VHD $FilePath -Mode Full -ErrorAction SilentlyContinue -ErrorVariable err)
            $optimizeFinishedNormally = $true

            if ($err) {
                Write-Error "Failed final optimization via Optimize-VHD. The error was: $err"
                return
            }
        } catch {
            $optimizeErrorRaised = $true
            throw
        } finally {
            if (!$optimizeFinishedNormally -and !$optimizeErrorRaised) {
                Write-Warning "Detected a CTRL+C abort while performing final optimization. It is highly recommended that you run checkdisk on the volume to prevent any corruption/data loss."
            }
        }

        if ($alreadyMounted) {
            Write-Verbose "Mounting VHD file again since it was mounted when we started."
            Mount-VHD -Path $FilePath -ErrorVariable err

            if ($err) {
                Write-Error "Failed to mount VHD '$FilePath' again after optimization: $err"
                return
            }
        }

        $finalDiskImage = Get-DiskImage -ImagePath $FilePath -ErrorAction SilentlyContinue -ErrorVariable err

        if ($err) {
            Write-Error "Failed to obtain disk image for VHD '$FilePath' to calculate difference in size. The error was: $err"
            return
        } elseif ($null -eq $finalDiskImage) {
            Write-Error "Failed to obtain disk image for VHD '$FilePath' to calculate difference in size."
            return
        }

        $endSize = $finalDiskImage.FileSize

        # endSize - startingSize: we are tracking the change, not the amount saved.
        $change = [int64]($endSize - $startingSize)
        $formattedChange = FormatHumanReadable ([Math]::Abs($change))
        $sign = if ($change -lt 0) { "-" } else { "" }

        $output = [PSCustomObject]@{
            "Path" = $FilePath
            "OriginalSize" = $startingSize
            "CurrentSize" = $endSize
            "Change" = $change
            "ChangeFormatted" = "${sign}${formattedChange}"
        }
        Write-Output $output
    } finally {
        if ($dismountRequired) {
            Write-Verbose "Dismounting VHD since it was not dismounted earlier."
            Dismount-VHD -Path $FilePath -ErrorVariable err

            if ($err) {
                Write-Warning "VHD '$FilePath' was mounted so that it could be optimized, but failed to dismount: $err"
                Write-Warning "Please dismount the VHD manually."
            }
        }
    }
}

# Copyright (c) 2024 AJ Tek Corporation. All Rights Reserved.

# SIG # Begin signature block
# MIIVmwYJKoZIhvcNAQcCoIIVjDCCFYgCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQU5JgxcLiYAY0CLH1/cPyPJC8E
# nHegghH7MIIFbzCCBFegAwIBAgIQSPyTtGBVlI02p8mKidaUFjANBgkqhkiG9w0B
# AQwFADB7MQswCQYDVQQGEwJHQjEbMBkGA1UECAwSR3JlYXRlciBNYW5jaGVzdGVy
# MRAwDgYDVQQHDAdTYWxmb3JkMRowGAYDVQQKDBFDb21vZG8gQ0EgT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