search SCP (Service Connection Point) with Powershell

search SCP:   $obj = @() $ADDomain = Get-ADDomain | Select DistinguishedName $DSSearch = New-Object System.DirectoryServices.DirectorySearcher $DSSearch.Filter = ‘(&(objectClass=serviceConnectionPoint)(|(keywords=67661d7F-8FC4-4fa7-BFAC-E1D7794C1F68)(keywords=77378F46-2C66-4aa9-A6A6-3E7A48B19596)))’ $DSSearch.SearchRoot

Weiterlesen