From ae6b596e5b271b1b1b97df3ed092acee66ce43d3 Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Sat, 20 Mar 2021 19:50:50 +0100 Subject: [PATCH] Fixes small error --- Public/Get-GPOZaurrLinkSummary.ps1 | 16 ++++++++-------- README.md | 2 ++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/Public/Get-GPOZaurrLinkSummary.ps1 b/Public/Get-GPOZaurrLinkSummary.ps1 index ad8b80e..a813464 100644 --- a/Public/Get-GPOZaurrLinkSummary.ps1 +++ b/Public/Get-GPOZaurrLinkSummary.ps1 @@ -13,7 +13,7 @@ $CacheSummaryLinks = [ordered] @{} # cache # Get all links - $Links = Get-GPOZaurrLink -Forest $Forest -IncludeDomains $IncludeDomains -ExcludeDomains $ExcludeDomains -ExtendedForestInformation $ExtendedForestInformation -Linked Root, DomainControllers, Other + $Links = Get-GPOZaurrLink -Forest $Forest -IncludeDomains $IncludeDomains -ExcludeDomains $ExcludeDomains -ExtendedForestInformation $ExtendedForestInformation -Linked Root, DomainControllers, OrganizationalUnit foreach ($Link in $Links) { if (-not $CacheSummaryLinks["$($Link.DomainName)$($Link.Guid)"]) { $CacheSummaryLinks["$($Link.DomainName)$($Link.Guid)"] = [System.Collections.Generic.List[System.Object]]::new() @@ -121,13 +121,13 @@ for ($i = 0; $i -le $HighestCount; $i++) { "Level$i" } - 'Owner' - 'GpoStatus' - 'Description' - 'CreationTime' - 'ModificationTime' - 'GPODomainDistinguishedName' - 'GPODistinguishedName' + #'Owner' + #'GpoStatus' + #'Description' + #'CreationTime' + #'ModificationTime' + #'GPODomainDistinguishedName' + #'GPODistinguishedName' ) $ReturnObject.MultipleLinks = $ReturnObject.MultipleLinks | Select-Object -Property $Properties } diff --git a/README.md b/README.md index b0b8ef7..7111baa 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,8 @@ To understand the usage I've created blog post you may find useful ## Changelog +- 0.0.123 + - [x] Fixes `Get-GPOZaurrLinkSummary` - 0.0.122 - 2021.02.11 - [x] Improved `Invoke-GPOZaurr` - [x] Report `GPOAnalysis` - added `WindowsFirewallRules`,`WindowsFirewallProfiles`,`WindowsFirewallConnectionSecurityAuthentication`,`WindowsFirewallConnectionSecurityRules`