From 620ce6cd61b3c23ea70fa084f4adfed8cfcbc240 Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Thu, 20 Oct 2022 08:36:11 +0200 Subject: [PATCH] Fixes #33 --- Public/Invoke-GPOZaurr.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }