i worked before with the this script for ad directory replication status..: "repadmin.exe /showrepl mivtachim.co.il | FINDSTR /R /I /C:"fail", /C:"koko" >NUL && ECHO 2:Error || ECHO 0:OK 0:OK"
but how can get the same script at powershell ?
Votes:
i worked before with the this script for ad directory replication status..: "repadmin.exe /showrepl mivtachim.co.il | FINDSTR /R /I /C:"fail", /C:"koko" >NUL && ECHO 2:Error || ECHO 0:OK 0:OK"
but how can get the same script at powershell ?
1 Reply
Add comment