mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-08-05 16:39:28 +00:00
Update
This commit is contained in:
@@ -124,7 +124,9 @@
|
||||
} else {
|
||||
$LinkedOU = $true
|
||||
}
|
||||
if ($InternalLink.DistinguishedName -notlike "*$($InternalLink.GPODomainDistinguishedName)*") {
|
||||
$CN = ConvertFrom-DistinguishedName -ToDomainCN -DistinguishedName $InternalLink.distinguishedName
|
||||
$GPOCN = ConvertFrom-DistinguishedName -ToDomainCN -DistinguishedName $InternalLink.GPODomainDistinguishedName
|
||||
if ($CN -ne $GPOCN) {
|
||||
$LinkedCrossDomain = $true
|
||||
$LinkedCrossDomainPlaces.Add($InternalLink.DistinguishedName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user