Bilgehan K. Gündüz

www.bilgehangunduz.com / www.sorogren.com

Exchange Server 2013 2016 2019 tarih kısıtıyla mail silmek

Exchange Server 2013 2016 2019 tarih kısıtıyla mail silmek

Aşağıdaki gibi gelen ve giden mailleri ayrı sildirirseniz sistem daha az kasılıyor

Örneğimizde sunucunuz üzerindeki tüm db lerderdeki tüm mailboxlar içinde belirttiğiniz tarihten önceki mailler silinmektedir. Komut her çalıştığında mailbox başına max 10.0000 öğe silmektedir o yüzden komudu birden fazla kez çalıştırmanız gereke bilir. 

Komudu uygulamadan önce mutlaka yedeğinizi almış olun.

Görme :

Get-Mailbox -Resultsize unlimited | Search-Mailbox -SearchQuery ‘Received<12/31/2018‘ –EstimateResultOnly

Silme :

Get-Mailbox -Resultsize unlimited | Search-Mailbox -SearchQuery ‘Received<12/31/2018‘ –DeleteContent -Force

=====================================================

Görme :

Get-Mailbox -Resultsize unlimited | Search-Mailbox -SearchQuery ‘sent<12/31/2018‘ –EstimateResultOnly

Silme :

Get-Mailbox -Resultsize unlimited | Search-Mailbox -SearchQuery ‘sent<12/31/2018‘ –DeleteContent -Force

Not: Eğer telefonlarınız da Mail kurulu ise ve adres defteriniz senkronizasyon ayarlı ise 

gelen /giden anlamıyor telefondaki bu tarihten önceki kişilerinizi de siliyor bilginize;

Kullanıcılarınızı uyarın Outloktan Kişilerinin PST yedeğini alsınlar veya kişileri telefon üzerinden bir yere (icloud) yedekliyor iseler oraya bir yedek alsınlar

admin

Website:

2 comments

efkanabi

Alttaki Hatayı alıyorum.

[PS] C:\Windows\system32>Get-Mailbox -Resultsize unlimited | Search-Mailbox -SearchQuery `Received<12/31/2018` -Estimate
ResultOnly
Search-Mailbox : The term 'Search-Mailbox' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:37
+ Get-Mailbox -Resultsize unlimited | Search-Mailbox -SearchQuery `Received


Warning: Undefined variable $user_ID in /home/bilgehan/domains/bilgehangunduz.com/public_html/wp-content/themes/consultstreet/comments.php on line 45

You must be <a href="http://www.bilgehangunduz.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.bilgehangunduz.com%2Findex.php%2F2020%2F05%2F10%2Fexchange-server-2013-2016-2019-tarih-kisitiyla-mail-silmek%2F">logged in</a> to post a comment