Skip to content

Commit fe3ed69

Browse files
authored
Merge pull request #181 from TrimarcJake/SamErde-patch-1
Update Invoke-Scans.ps1
2 parents d5d2ee4 + e867174 commit fe3ed69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Private/Invoke-Scans.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function Invoke-Scans {
136136
[array]$AllIssues = $AuditingIssues + $ESC1 + $ESC2 + $ESC3 + $ESC4 + $ESC5 + $ESC6 + $ESC8 + $ESC11 + $ESC13
137137

138138
# If these are all empty = no issues found, exit
139-
if ((!$AuditingIssues) -and (!$ESC1) -and (!$ESC2) -and (!$ESC3) -and (!$ESC4) -and (!$ESC5) -and (!$ESC6) -and (!$ESC8) -and ($ESC11) -and ($ESC13) ) {
139+
if ((!$AuditingIssues) -and (!$ESC1) -and (!$ESC2) -and (!$ESC3) -and (!$ESC4) -and (!$ESC5) -and (!$ESC6) -and (!$ESC8) -and (!$ESC11) -and (!$ESC13) ) {
140140
Write-Host "`n$(Get-Date) : No ADCS issues were found." -ForegroundColor Green
141141
break
142142
}

0 commit comments

Comments
 (0)