Forum
Kullanıcı bazlı gelen giden mail sayısı raporu almanın bir yolu var mıdır ? Aşağıdaki gibi bir shell komutu buldum ama çalışmadı maalesef.
AnActive directory error 0x51 occured when trying to checkto suitability of server --reventid
ldap service is unavalible vs. gibi bir hata veriyor.
Başka bir yolu var mdıır ya da bu hatayı nasıl giderbiliriz
GELEN
get-messagetrackinglog -resultsize unlimited --reventid "receive" -start "10/01/2014 1:00:00 PM" -End "10/23/2014 1:00:00" >c:\receives.csv
GIDEN
get-messagetrackinglog -resultsize unlimited --reventid "send" -start "2/21/2013 1:00:00 PM" -End "2/28/2013 1:00:00" >c:\send.csv
repadmin yaptığımda ise :
[PS] C:\Windows\system32>repadmin /showrepl
Repadmin: running command /showrepl against full DC **erver.ul
Default-First-Site-Name\SERVER
DSA Options: IS_GC
Site Options: (none)
DSA object GUID: 0478e565-130e-487a-ba25-c52cc525990c
DSA invocationID: 0527ccf8-d789-42bf-9b52-94df3e5531d8
==== INBOUND NEIGHBORS ======================================
DC=*****,DC=com
Yenibosna\*ERVER2 via RPC
DSA object GUID: 0c01e086-c848-4d36-8077-8d8167faecf6
Last attempt @ 2014-10-23 15:14:20 was successful.
Default-First-Site-Name\*SRVR via RPC
DSA object GUID: 20606b1f-914f-4c99-a464-dfcc558ee8e2
Last attempt @ 2014-10-23 15:24:24 was successful.
CN=Configuration,DC=**,DC=com
Yenibosna\*SERVER2 via RPC
DSA object GUID: 0c01e086-c848-4d36-8077-8d8167faecf6
Last attempt @ 2014-10-23 15:14:20 was successful.
Default-First-Site-Name\*SRVR via RPC
DSA object GUID: 20606b1f-914f-4c99-a464-dfcc558ee8e2
Last attempt @ 2014-10-23 15:24:40 was successful.
CN=Schema,CN=Configuration,DC=*******,DC=com
Default-First-Site-Name\*SRVR via RPC
DSA object GUID: 20606b1f-914f-4c99-a464-dfcc558ee8e2
Last attempt @ 2014-10-23 14:59:20 was successful.
Yenibosna\***ERVER2 via RPC
DSA object GUID: 0c01e086-c848-4d36-8077-8d8167faecf6
Last attempt @ 2014-10-23 15:14:20 was successful.
DC=DomainDnsZones,DC=*****,DC=com
Yenibosna**SERVER2 via RPC
DSA object GUID: 0c01e086-c848-4d36-8077-8d8167faecf6
Last attempt @ 2014-10-23 15:14:20 was successful.
Default-First-Site-Name**SRVR via RPC
DSA object GUID: 20606b1f-914f-4c99-a464-dfcc558ee8e2
Last attempt @ 2014-10-23 15:14:50 was successful.
DC=ForestDnsZones,DC=**,DC=com
Default-First-Site-Name\SRVR via RPC
DSA object GUID: 20606b1f-914f-4c99-a464-dfcc558ee8e2
Last attempt @ 2014-10-23 14:59:20 was successful.
Yenibosna\***SERVER2 via RPC
DSA object GUID: 0c01e086-c848-4d36-8077-8d8167faecf6
Last attempt @ 2014-10-23 15:14:20 was successful.
Doğru komutlar Kerem bey den geldi sağ olsun.
Aşağıdaki şekilde olursa girdiğiniz tarih aralığı için sorunsuz alınabiliyor. csv dosyasının adını istediğiniz gibi verebilirsiniz.
get-messagetrackinglog -EventID "RECEIVE" -Start "01/21/2014 3:52:00 PM" -End "10/23/2014 4:02:00 PM" > c:\receive00012.csv
get-messagetrackinglog -EventID "SEND" -Start "10/21/2014 3:52:00 PM" -End "10/23/2014 4:02:00 PM" > c:\send00012.csv