# Secure Boot $sb = Confirm-SecureBootUEFI $result.SecureBoot_Enabled = $sb if (-not $sb) $result.Issues += "Secure Boot disabled"
# RAM Check $ramGB = [math]::round((Get-WmiObject Win32_ComputerSystem).TotalPhysicalMemory / 1GB, 2) $result.RAM_GB = $ramGB if ($ramGB -lt 4) $result.Issues += "RAM below 4GB" windows 11 compatibility tool
# UEFI Mode $uefi = (Get-WmiObject Win32_ComputerSystem).SystemType -match "UEFI" $result.UEFI_Mode = $uefi if (-not $uefi) $result.Issues += "Not booting in UEFI mode" # Secure Boot $sb = Confirm-SecureBootUEFI $result