File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
SCSM-Diagnostic-Tool/SourceCode/_2_Analyzing Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -891,12 +891,14 @@ if (!(Test-Path ".\$analyzer_FolderName\$findingsHtml_FileName")) {
891891}
892892Start-Process .\$analyzer_FolderName\$findingsHtml_FileName
893893
894- Write-Host "This will end in a few seconds."
894+ Write-Host "Please wait, this will close in max 20 seconds." -NoNewline
895895foreach($psJob in Get-Job) {
896896 while ( $psJob.State -eq [System.Management.Automation.JobState]::Running ) {
897- Start-Sleep -Milliseconds 100
897+ Start-Sleep -Milliseconds 1000
898+ Write-Host "." -NoNewline
898899 }
899900}
901+ cls
900902'@
901903Set-Content - Path (Join-Path - Path (Split-Path $resultFolder - Parent) - ChildPath $findingsPS1_FileName ) - Value $findingsPS1_Content
902904DeleteFileInTargetFolder $findingsHtml_FileName
You can’t perform that action at this time.
0 commit comments