The /csv mode makes the /showrepl command print in a Comma Separated Values (CSV)%0 format for import into Microsoft Excel ...

The /csv mode makes the /showrepl command print in a Comma Separated Values (CSV)%0 format for import into Microsoft Excel or programmatic analysis.  The output format%0 (the order of the columns) is rigid and will not change from release to release. The CSV output is printed to stdout and can be redirected to a file.  Critical errors will be printed in a CSV friendly format to stdout, and also printed in a user friendly format to the screen via stderr. The repadmin commands supporting /csv output:     /showrepl The generic format is:     column_1  -  test_specifier + printing_type.     column_2  -  site of the DSA the test is running against.     column_3  -  DSA the test is running against.     column_4+ -  columns_4 and beyond are specific to the test.     test_specifier = repadmin_ | showrepl_     printing_type  = INFO | ERROR | COLUMNS Example 1: "repadmin /showrepl ad-server-22 /csv"     Output:     showrepl_COLUMNS,Destination DSA Site,Destination DSA,Naming Context,Source DSA Site,Source DSA, ...     showrepl_INFO,WestCoastSite,ad-server-22,"DC=myfavoritecorp,DC=com",EastCoastSite,DC-35,... Example 2: "repadmin /showrepl down-dsa /csv > file.csv"     Output To Screen (note redirect):     Repadmin experienced the following error trying to resolve the DSA_NAME: down-dsa     file.csv:     repadmin_ERROR,-,-,Repadmin experienced the following error trying to resolve the DSA_NAME: down-dsa This /csv mode works in conjunction with the lists of DSAs as well.  See /listhelp for ways in which you can specify subsets of servers to target.