Skip to content
Script to remove protocol types from the list of configured proxy addresses and fix invalid aliases.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Clean-MailEnabledPublicFolders.ps1
LICENSE.md
README.md

README.md

Clean-MailEnabledPublicFolders.ps1

Remove proxy addressess for a selected protocol from mailo enabled public folders

Description

This script removes the proxy address(es) for a selected protocol from mail enabled public folders.

Parameters

ProtocolToRemove

Proxy address protocol to remove, e.g. "MS:", "CCMAIL:"

UpdateAddresses

Update proxy addresses by removing found protocol addresses

OutputFile

File name for output file, default: RemovedAddresses.txt

Examples

.\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

Note

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.

TechNet Gallery

Find the script at TechNet Gallery

Credits

Written by: Thomas Stensitzki

Stay connected:

For more Office 365, Cloud Security and Exchange Server stuff checkout services provided by Granikos

You can’t perform that action at this time.