mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-31 12:47:59 +00:00
Fixes small error
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
$CacheSummaryLinks = [ordered] @{} # cache
|
$CacheSummaryLinks = [ordered] @{} # cache
|
||||||
|
|
||||||
# Get all links
|
# 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) {
|
foreach ($Link in $Links) {
|
||||||
if (-not $CacheSummaryLinks["$($Link.DomainName)$($Link.Guid)"]) {
|
if (-not $CacheSummaryLinks["$($Link.DomainName)$($Link.Guid)"]) {
|
||||||
$CacheSummaryLinks["$($Link.DomainName)$($Link.Guid)"] = [System.Collections.Generic.List[System.Object]]::new()
|
$CacheSummaryLinks["$($Link.DomainName)$($Link.Guid)"] = [System.Collections.Generic.List[System.Object]]::new()
|
||||||
@@ -121,13 +121,13 @@
|
|||||||
for ($i = 0; $i -le $HighestCount; $i++) {
|
for ($i = 0; $i -le $HighestCount; $i++) {
|
||||||
"Level$i"
|
"Level$i"
|
||||||
}
|
}
|
||||||
'Owner'
|
#'Owner'
|
||||||
'GpoStatus'
|
#'GpoStatus'
|
||||||
'Description'
|
#'Description'
|
||||||
'CreationTime'
|
#'CreationTime'
|
||||||
'ModificationTime'
|
#'ModificationTime'
|
||||||
'GPODomainDistinguishedName'
|
#'GPODomainDistinguishedName'
|
||||||
'GPODistinguishedName'
|
#'GPODistinguishedName'
|
||||||
)
|
)
|
||||||
$ReturnObject.MultipleLinks = $ReturnObject.MultipleLinks | Select-Object -Property $Properties
|
$ReturnObject.MultipleLinks = $ReturnObject.MultipleLinks | Select-Object -Property $Properties
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,6 +64,8 @@ To understand the usage I've created blog post you may find useful
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
- 0.0.123
|
||||||
|
- [x] Fixes `Get-GPOZaurrLinkSummary`
|
||||||
- 0.0.122 - 2021.02.11
|
- 0.0.122 - 2021.02.11
|
||||||
- [x] Improved `Invoke-GPOZaurr`
|
- [x] Improved `Invoke-GPOZaurr`
|
||||||
- [x] Report `GPOAnalysis` - added `WindowsFirewallRules`,`WindowsFirewallProfiles`,`WindowsFirewallConnectionSecurityAuthentication`,`WindowsFirewallConnectionSecurityRules`
|
- [x] Report `GPOAnalysis` - added `WindowsFirewallRules`,`WindowsFirewallProfiles`,`WindowsFirewallConnectionSecurityAuthentication`,`WindowsFirewallConnectionSecurityRules`
|
||||||
|
|||||||
Reference in New Issue
Block a user