Skip to content

Commit

Permalink
Merge pull request #184 from TrimarcJake/SamErde-patch-1
Browse files Browse the repository at this point in the history
Update Invoke-Scans.ps1
  • Loading branch information
TrimarcJake authored Nov 20, 2024
2 parents 9437cd4 + 7234c1a commit b259f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Private/Invoke-Scans.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function Invoke-Scans {
[array]$AllIssues = $AuditingIssues + $ESC1 + $ESC2 + $ESC3 + $ESC4 + $ESC5 + $ESC6 + $ESC8 + $ESC11 + $ESC13

# If these are all empty = no issues found, exit
if ((!$AuditingIssues) -and (!$ESC1) -and (!$ESC2) -and (!$ESC3) -and (!$ESC4) -and (!$ESC5) -and (!$ESC6) -and (!$ESC8) -and ($ESC11) -and ($ESC13) ) {
if ($AllIssues.Count -lt 1) {
Write-Host "`n$(Get-Date) : No ADCS issues were found." -ForegroundColor Green
break
}
Expand Down

0 comments on commit b259f40

Please sign in to comment.