Richard Siddaway has written a post demonstrating how to PowerShell to access the physical topology of Active Directory Sites using the ActiveDirectorySite object.
Read more