Monday 29 March 2010

Pre-Post test for DC patching for n nos. of DC

NLTEST:
for /f %%x in (%1) do nltest /server:%%x /dsgetsite

UPTIME:
for /f %%x in (%1) do uptime \\%%x

DCDIAG:
for /f %%x in (%1) do dcdiag /s:%%x

Repadmin:
for /f %%x in (%1) do repadmin /replsummary %%x

1 comment:

  1. Save the line in a bat file and run from command prompt.

    >> test.bat serverlist.txt >> output.txt

    ReplyDelete