Skip to content

Apoc70/Fix-PublicFolderNames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Fix-ModernPublicFolderNames.ps1

Script to prepare on-premises modern public folder names for migration to modern public folders in Exchange Online

Description

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.

Requirements

  • Windows Server Windows Server 2012R2 or newer
  • Exchange 2013 Management Shell or newer
  • Organization Management RBAC Management Role (let's keep it simple)

Parameters

ExportFolderNames

Switch to export renamed folders to text files

Examples

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

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.

Credits

Written by: Thomas Stensitzki

Stay connected

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