.. / Get-ADReplicationSubnet

Returns a specific Active Directory subnet or a set of AD subnets based on a specified filter.


Functions:
Type:
Toolsets:

Domain

List replication subnets

Get-ADReplicationSubnet -Filter * -Server ad.bitsadmin.com | select Name,Location,Site
Usecase
Enumerate subnets in use in the domain; useful to add LOFL tun2socks routes

Comments
PowerShell Module: ActiveDirectory




Updated: 2023-07-01
Contributor: Arris Huijgen (bitsadmin)