mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-09-01 13:18:03 +00:00
Fixes for duplicate guids
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
foreach ($Domain in $ForestInformation.Domains) {
|
||||
$QueryServer = $ForestInformation['QueryServers'][$Domain]['HostName'][0]
|
||||
Get-GPO -All -DomainName $Domain -Server $QueryServer | ForEach-Object {
|
||||
$GPOCache[$_.ID.Guid] = $_
|
||||
$GPOCache["$Domain$($_.ID.Guid)"] = $_
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user