Remove proxy addressess for a selected protocol from mailo enabled public folders
This script removes the proxy address(es) for a selected protocol from mail enabled public folders.
Proxy address protocol to remove, e.g. "MS:", "CCMAIL:"
Update proxy addresses by removing found protocol addresses
File name for output file, default: RemovedAddresses.txt
.\Clean-MailEnabledPublicFolders.ps1 -ProtocolToRemove "MS:*"
Check mal enabled public folders for proxy addresses having "MS:" as a protocol type. Do not remove and update addresses, but log found addresses to RemovedAddresses.txt
.\Clean-MailEnabledPublicFolders.ps1 -ProtocolToRemove "MS:*" -UpdateAddresses
Check mal enabled public folders for proxy addresses having "MS:" as a protocol type. Remove and update addresses and log found addresses to RemovedAddresses.txt
THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.
Written by: Thomas Stensitzki
- My Blog: http://justcantgetenough.granikos.eu
- Twitter: https://twitter.com/stensitzki
- LinkedIn: http://de.linkedin.com/in/thomasstensitzki
- Github: https://github.com/Apoc70
- MVP Blog: https://blogs.msmvps.com/thomastechtalk/
- Tech Talk YouTube Channel (DE): http://techtalk.granikos.eu
For more Office 365, Cloud Security, and Exchange Server stuff checkout services provided by Granikos
- Blog: http://blog.granikos.eu
- Website: https://www.granikos.eu/en/
- Twitter: https://twitter.com/granikos_de