Remove unwanted protocols from proxy address from public folders

Last updated: 2017-10-10

Picture of four audio cassettesDescription

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

Any proxy address with a given protocol is removed from the proxy addresses list.

The script can fix the alias of mail-enabled public folders as well. The code used is based upon a blog post by Shay Levy.

 

Examples

# EXAMPLE 1# Check mail 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:*" # EXAMPLE 2# Check mail enabled public folders for proxy addresses having "MS:" as a protocol type.# Remove and update addresses and log found addresses to RemovedAddresses.txt.\Clean-MailEnabledPublicFolders.ps1 -ProtocolToRemove "MS:*" -UpdateAddresses

 

Version History

  • 1.0, Initial community release
  • 1.1, FixAlias added, cleanup logic changed
  • 1.2, Some minor PowerShell updates

 

Links

 

Follow

 

Additional Note

This Powershell script has been optimized using the ISESteroids™ add-on. Learn more about ISESteroids™ here.

 

 

%d Bloggern gefällt das: