File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
images/macos/software-report Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -302,21 +302,11 @@ PARALLELS_DMG_URL environment variable. A system extension is allowed for this v
302302 $miscellaneousEnvNotes.AddNote ($notes )
303303}
304304
305- #
306- # Generate systeminfo.txt with information about image (for debug purpose)
307- #
308- $dateTime = (Get-Date ).ToString(" yyyy-MM-dd HH:mm:ss" )
309- $systemInfo = [string ]::Join([System.Environment ]::NewLine, @ (
310- " Date: ${dateTime} " ,
311- " Image name: ${ImageName} "
312- ))
313-
314305if (-not (Test-Path $OutputDirectory )) { New-Item - Path $OutputDirectory - ItemType Directory | Out-Null }
315306
316307#
317308# Write final reports
318309#
319310Write-Host $markdownExtended
320- $systemInfo | Out-File - FilePath " ${OutputDirectory} /systeminfo.txt" - Encoding UTF8NoBOM
321311$softwareReport.ToJson () | Out-File - FilePath " ${OutputDirectory} /systeminfo.json" - Encoding UTF8NoBOM
322312$softwareReport.ToMarkdown () | Out-File - FilePath " ${OutputDirectory} /systeminfo.md" - Encoding UTF8NoBOM
You can’t perform that action at this time.
0 commit comments