Display the highest USN of all atributes of concrete user on DC1 server
repadmin /showobjmeta DC1 "CN=User,OU=Users,DC=Domain,DC=local"
Initiate a replication event across all sites – my favourite :)
repadmin /syncall /APed
Initiate a replication between two replication partners
repadmin /replicate DC1 DC2 "dc=Domain,dc=local"
Set new replication topology – if any is gone
repadmin /kcc
Display the bridgehead servers for a specified site
repadmin /bridgeheads
source:
http://technet.microsoft.com/en-us/library/cc755360(WS.10).aspx
http://technet.microsoft.com/en-us/library/cc773062(WS.10).aspx
http://technet.microsoft.com/en-us/library/cc736571(WS.10).aspx#BKMK_2
http://support.microsoft.com/kb/229896
C:\>psexec \\%computername% -c -i -w c:\temp cmd.exe /c "c:\temp\602xmlfiller.msi"
for /f %%a in (seznam_stroju.txt) do (
psexec \\%%a cmd /C dir c:\*.pst /s ^| findstr /i ".pst"
if errorlevel 1 (
echo %date% %time% %%a >> vysledek.log
) else (
echo 0)
)