August 2019
Intermediate to advanced
786 pages
20h 22m
English
Now that we have the sites and site links set up, the next step is to assign the subnets to each site. These can be set up using the New-ADReplicationSubnet cmdlet:
New-ADReplicationSubnet -Name "192.168.0.0/24" -Site LondonSite
The preceding PowerShell command creates a new subnet, 192.168.0.0/24, and assigns it to LondonSite.
Using Set-ADReplicationSubnet, we can change value of the existing subnet:
Set-ADReplicationSubnet -Identity "192.168.0.0/24" -Site CanadaSite
The preceding command changes the site of the 192.168.0.0/24 subnet to CanadaSite.
We can use the Get-ADReplicationSubnet cmdlet to find the subnet data:
Get-ADReplicationSubnet -Filter {Site -Eq "CanadaSite"}
The preceding command lists all the subnets under ...
Read now
Unlock full access