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.
Fix-PublicFolderNames.ps1
LICENSE.md
README.md

README.md

Fix-PublicFolderNames.ps1

Script to prepare legacy public folder names for migration to modern public folders

Description

This script renames legacy public foldern on Exchange Server 2010 to replace backslash "" and forward slash "/" by the pipe "|" character.

This script trims all public folder names to remove any leading or trailing spaces.

Requirements

  • Windows Server 2008 R2 SP1, Windows Server 2012 or Windows Server 2012 R2
  • Exchange 2010 Management Shell

Parameters

PublicFolderServer

Exchange Server name hosting legacy public folders

Examples

.\Fix-PublicFolderNames -PublicFolderServer MYPFSERVER

Rename and trim public folders found on Server MYPFSERVER

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

Download and vote 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