From e61ef74920c59d97b71f3c8aefeac7f50800d1d1 Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Tue, 16 Apr 2024 18:26:28 +0200 Subject: [PATCH] Fixes forest issue #54 --- Public/Invoke-GPOZaurrContent.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Public/Invoke-GPOZaurrContent.ps1 b/Public/Invoke-GPOZaurrContent.ps1 index b42d3f5..178e767 100644 --- a/Public/Invoke-GPOZaurrContent.ps1 +++ b/Public/Invoke-GPOZaurrContent.ps1 @@ -110,7 +110,7 @@ $Output['Reports'] = [ordered] @{} $Output['CategoriesFull'] = [ordered] @{} - $ForestInformation = Get-WinADForestDetails -PreferWritable + $ForestInformation = Get-WinADForestDetails -PreferWritable -Forest $Forest -IncludeDomains $IncludeDomains -ExcludeDomains $ExcludeDomains -ExtendedForestInformation $ExtendedForestInformation Write-Verbose "Invoke-GPOZaurrContent - Loading GPO Report to Categories" $CountGPO = 0