This script queries the Distribution Database (and optionally the Publisher database, if the Distributor is also a Publisher) and draws out the replication topology. It helps us understand the replication topology and displays various other details that we need to understand the issue and thus helps us to troubleshoot the issue faster. 

 Author: Suhas De (suhde@microsoft.com) & Gaurav Mathur (gmathur@microsoft.com)