Fixes small error

This commit is contained in:
Przemyslaw Klys
2021-03-20 19:50:50 +01:00
parent bfe50f02fe
commit ae6b596e5b
2 changed files with 10 additions and 8 deletions
+8 -8
View File
@@ -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
}
+2
View File
@@ -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`