Fixes FFU selection table output

Pipes the FFU selection table through `Out-String` to ensure it is correctly rendered in the console. This prevents potential issues where the formatted table object is not displayed as intended.
This commit is contained in:
rbalsleyMSFT
2025-07-09 15:32:01 -07:00
parent 6b7351d1b3
commit b651bc6385
+1 -1
View File
@@ -3229,7 +3229,7 @@ Function New-DeploymentUSB {
} }
$output += New-Object PSObject -Property $Properties $output += New-Object PSObject -Property $Properties
} }
$output | Format-Table -AutoSize -Property 'FFU Number', 'FFU Name', 'Last Modified' $output | Format-Table -AutoSize -Property 'FFU Number', 'FFU Name', 'Last Modified' | Out-String | Write-Host
# Loop until a valid FFU file is selected # Loop until a valid FFU file is selected
do { do {