June 2017
Beginner to intermediate
742 pages
18h 29m
English
Now, we have sites and site links set up. The next step is to assign the subnets to each site. This can be set up using the New-ADReplicationSubnet cmdlet:
New-ADReplicationSubnet -Name "192.168.0.0/24" -Site LondonSite
The preceding PowerShell command will create new subnet, 192.168.0.0/24, and will assign 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 will change the site of the 192.168.0.0/24 subnet into CanadaSite.
We can use the Get-ADReplicationSubnet cmdlet to find the subnet data:
Get-ADReplicationSubnet -Filter {Site -Eq "CanadaSite"}
The preceding command will list all the ...