File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,12 @@ param(
123123 [string ]
124124 $ReportDir = (Get-Location ),
125125
126+ # Skip summary report -- used for Linux hosts that don't support
127+ # the OLE database stuff.
128+ [Parameter (Mandatory = $false )]
129+ [switch ]
130+ $SkipSummaryReport ,
131+
126132 # Tells the script to use the sytem tmp directory instead of the rule
127133 # directory.
128134 [Parameter (Mandatory = $false )]
@@ -245,6 +251,7 @@ else {
245251 Write-Host " Loaded $ ( $queriesToCheck.Count ) Queries."
246252}
247253
254+
248255#
249256# Step 2: Verify All the Required CLI Tools are Installed
250257#
@@ -420,6 +427,8 @@ foreach ($r in $REPORT) {
420427 [PSCustomObject ]$r | Export-CSV - Path $reportOutputFile - Append - NoTypeInformation
421428}
422429
423- # write out a summary
424- Write-Host " Writing summary report to $summaryReportOutputFile "
425- Create- Summary- Report - DataFile $reportOutputFile - OutputFile $summaryReportOutputFile
430+ if (-not $SkipSummaryReport ){
431+ # write out a summary
432+ Write-Host " Writing summary report to $summaryReportOutputFile "
433+ Create- Summary- Report - DataFile $reportOutputFile - OutputFile $summaryReportOutputFile
434+ }
You can’t perform that action at this time.
0 commit comments