diff --git a/Public/Invoke-GPOZaurr.ps1 b/Public/Invoke-GPOZaurr.ps1 index 1597f02..48ddc0e 100644 --- a/Public/Invoke-GPOZaurr.ps1 +++ b/Public/Invoke-GPOZaurr.ps1 @@ -204,9 +204,9 @@ # Split reports are handled above so we skip if this was set if ($Type.Count -gt 1) { - New-HTMLReportWithSplit -FilePath $FilePath -Online:$Online -HideHTML:$HideHTML - } else { New-HTMLReportAll -FilePath $FilePath -Online:$Online -HideHTML:$HideHTML -Type $Type + } else { + New-HTMLReportWithSplit -FilePath $FilePath -Online:$Online -HideHTML:$HideHTML }