Mailboxlardan Data Silmek

Search for possible matches first

Aşağıda örnek vererek mailboxlarda bulunan bir datayı sileceğiz. “Enis Goktay” isimli bir kullanıcının hesabından konusu “Kart Bilgileri” olan bir maili ilk olarak Exchange Sunucu yöneticisinin mailbox’ına “Sonuclar” klasörü olarak sonuçları iletecek. Bu aratma sonucunda herhangi bir silme ve kopyalama yapmayacaktır. Sonra da mail siliniyor olacaktır.

 

  • Search-Mailbox -Identity “Enis Goktay” -SearchQuery “Subject:Kart Bilgileri'” -TargetMailbox “administrator” -TargetFolder “Sonuclar” -LogOnly -LogLevel Full

İçeriki Silebilmek

Aşağıdaki komut yardımıyla da arattırdığımız mailbox ortamdan silinir.

  • Search-Mailbox -Identity “Enis Goktay” -SearchQuery ‘Subject:”Your bank statement”‘ -DeleteContent

 

Aşağıdaki komut yardımıyla da tüm mailboxlarda “Nisan 1 Sakasi” başlıklı mail aranır ve silinir.

  • Get-Mailbox | Search-Mailbox -SearchQuery ‘Subject:” Nisan 1 Sakasi “‘ -DeleteContent -Force

 

Ek olarak –DeleteContent parametresini kullanabilmek için Mailbox Import Export grubuna üye olmak gerekmektedir.

  • New-ManagementRoleAssignment -Name “Mailbox Import Export” -SecurityGroup “Organization Management” -Role “Mailbox Import Export”
Enis Göktay

Enis Göktay

Enis has more than 15 years of experience in Information Technologies. He holds a Bachelor of Science in Economy and Master of Science degree in Computer Engineering as well as several IT certifications, namely MCITP, MCSE and CISCO Certifications. He has experience from technical support to administering enterprise IT infrastructures including but not limited Active Directory, Messaging Infrastructures, and Networking. Currently, he lives in Istanbul and works as a Sr. Specialist on Microsoft Products, dealing with administration of full life cycle of large, complex, and high available Enterprise IT infrastructures. His certifications include:

:: MCSE Data Platform,
:: MCSE Private Cloud,
:: MCSE Messaging,
:: MCSE Communication,
:: MCSE Server Infrastructure,
:: MCITP Enterprise Messaging on Exchange 2010
:: Microsoft Specialist - Server Virtualization with Windows Server Hyper-V and System Center Specialist
:: MCITP Enterprise Administrator 2008
:: MCITP Windows Server 2008,
:: MCSA: SQL Server,
:: MCSA: Office 365 Certification
:: MCSA Windows Server 2008,
:: MCTS Microsoft Exchange Server 2010, Configuring
:: MCTS Windows Server® 2008 Network Infrastructure, Configuration
:: MCTS Windows Server® 2008 Active Directory, Configuration
:: MCTS Monitoring and Operating a Private Cloud with System Center 2012
:: MCP (Microsoft Certified Professional)
:: CCNA
Enis Göktay

Leave a Reply

Your email address will not be published. Required fields are marked *

Post Navigation