From 16a181155bb61034efbbf8d310c7d42f729c762d Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Mon, 17 May 2021 23:14:16 +0200 Subject: [PATCH] Potentially fixes #17 --- Public/Invoke-GPOZaurrContent.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Public/Invoke-GPOZaurrContent.ps1 b/Public/Invoke-GPOZaurrContent.ps1 index 5613841..81d7d04 100644 --- a/Public/Invoke-GPOZaurrContent.ps1 +++ b/Public/Invoke-GPOZaurrContent.ps1 @@ -212,7 +212,9 @@ $DisplayProperties = @( $FirstProperties foreach ($Property in $Properties) { - $Property + if ($Property -notin $FirstProperties -and $Property -notin $EndProperties) { + $Property + } } $EndProperties )