Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

Search for Preferred Bridgehead servers

$
0
0

Just a quickie for today. I was talking to a friend about Preferred Bridgehead servers. This is an old-fashioned feature from the bad old days where hardware was expensive and firewalls were everywhere. A preferred bridgehead is the preferential replication partner for DCs in other sites, and is used to exclude the other DCs in the same site from intersite replication. Sounds fine, but the downside is that it takes manual maintenance of a rather obscure feature.

Anyway, we needed to know if there were any preferred bridgehead servers without clicking though the dssite.msc GUI for hours. This will show you:

Get-ADObject -searchbase (Get-ADRootDSE).configurationnamingcontext -filter ‘objectclass -eq “server”‘ -Properties bridgeheadtransportlist |
format-table -AutoSize name,bridgeheadtransportlist

It will give you a list of all DCs with their preferred bridgehead setting.

Update: watch those single quotes ‘x’ in the expression, it seems that WordPress mangles them… I will look into this.


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>