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.
The /%1!s! option does not take arguments. Try the command again without the argument. For more information, refer to the ...
The /%1!s! option does not take arguments. Try the command again without the argument. For more information, refer to the ...
The /AcceptEula or /GetEula options must be specified with the /Set-Edition option online. Run the command again and include ...
The /CheckHealth option cannot be used on a Windows PE target image. The operation must be used on a full Windows operating ...
The /csv mode makes the /showrepl command print in a Comma Separated Values (CSV)%0 format for import into Microsoft Excel ...
The /Export-DefaultAppAssociations option requires a user to be logged in to the image. This option is not supported on an ...
The /Image option that is specified points to a running Windows installation. To service the running operating system, use ...
The /P switch allows you to set the value of a variable to a line of input entered by the user. Displays the specified promptString ...
The /RestoreHealth option cannot be used on a Windows PE target image. The operation must be used on a full Windows operating ...