Script to prepare legacy public folder names for migration to modern public folders
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.
- Windows Server 2008 R2 SP1, Windows Server 2012 or Windows Server 2012 R2
- Exchange 2010 Management Shell
Exchange Server name hosting legacy public folders
.\Fix-PublicFolderNames -PublicFolderServer MYPFSERVER
Rename and trim public folders found on Server MYPFSERVER
Script to prepare on-premises modern public folder names for migration to modern public folders in Exchange Online
This script renames modern public folder names an replaces unsupported characters with the hyphen "-" character.
This script trims public folder names to remove any leading or trailing spaces.
- Windows Server Windows Server 2012R2 or newer
- Exchange 2013 Management Shell or newer
- Organization Management RBAC Management Role (let's keep it simple)
Switch to export renamed folders to text files
.\Fix-ModernPublicFolderName
Rename and trim public folders
.\Fix-ModernPublicFolderNames -ExportFolderNames
Rename and trim public folders, export list of renamed folders and folders with renaming errors as text file
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