You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# trim any leading white space and compare the headers
if ($headers[$i].TrimStart() -ne $correctHeaders[$i]) {
Add-Content $Script:logOutput "$(Get-Date) - $fileName failed to validate headers because header number $i showed $($headers[$i].TrimStart()) instead of $($correctHeaders[$i])."
Write-Host "$fileName failed to validate headers because header number $i showed $($headers[$i].TrimStart()) instead of $($correctHeaders[$i]); please try again."