Microsoft Download Center Archive
Microsoft Exchange 2013 Public Folders Directory Sync Support Scripts |
Scripts to enable creation of public folder related objects in the O365 Active Directory and synchronization of public folder related Active Directory objects between on-premise and O365 directories.
- Use this scripts if you need to do one of the following - - Initial creation of mail enabled public folder objects in the destination Active Directory for public folder migration from Exchange 2007 or 2010 to Exchange 2013- Synchronization of mail enabled public folder objects from cloud to on-premise Active Directory- Synchronization of mail enabled public folder objects from on-premise to cloud Active Directory- Synchronization of public folder mailbox objects from cloud to on-premise Active Directory
Files
Status: DeletedThis download is no longer available on microsoft.com. The downloads below are archives provided by the Internet Archive Wayback Machine from the Microsoft Download Center prior to August 2020. |
File | Size |
---|---|
Export-MailPublicFoldersForMigration.ps1 SHA1: 07593d3c200c590211e4aced9334171c65cea196 | 10 KB |
Import-MailPublicFolders.ps1 SHA1: d874393bc300d0976ea532b2ac557f22d6896906 | 11 KB |
Import-MailPublicFoldersForMigration.ps1 SHA1: 13e05a9a7244affe6f7304a388ea916759aa038e | 13 KB |
Import-PublicFolderMailboxes.ps1 SHA1: f00b9fd7c72a32290dfc0773bdec9107afad72e2 | 10 KB |
MailPublicFolders.strings.psd1 SHA1: 0bc344f635c82a7f9603b677fad503c2d36bfcff | 2 KB |
System Requirements
Operating Systems: Windows Server 2003 Service Pack 2, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Web Server 2008, Windows Web Server 2008 R2
- Review the Technical Documentation for detailed instructions on performing Public Folder Migration
- Review the Technical Documentation for detailed instructions on configuring Public Folder cross-premise access
- Exchange Server to be installed on the server where the script will be run. See Instructions for details on Exchange Server versions.
- PowerShell 2.0 or later
Installation Instructions
- For creating mail public folder objects in the destination Active Directory during migration, use the Export-MailPublicFoldersForMigration.ps1 and Import-MailPublicFoldersForMigration.ps1 scripts. For synchronizing objects for cross-premise public folder access, we recommend running these scripts every 30 minutes as part of a scheduled task. For detailed instructions on configuring Public Folder cross-premise access go to Technical Documentation------------------------------------------------------------------------------------------------------------------------Script name - Export-MailPublicFoldersForMigration.ps1Description - This script needs to be run by a local admin on the legacy (Exchange 2007 or 2010) Exchange server. Run the Export-MailPublicFoldersForMigration.ps1 to create the XML file containing the list of mail-enabled public folders from on-premise Active Directory.Usage - NOTE - Before running the script, copy the MailPublicFolders.strings.psd1 file in the same directory as the Export-MailPublicFoldersForMigration.ps1 script..\Export-MailPublicFoldersForMigration.ps1 [path to mail public folder xml]• Path to mail public folder xml equals the file name and path on a network shared folder where you want the XML file saved. If you specify only the file name, the file will be generated in the current PowerShell directory on the local computer.------------------------------------------------------------------------------------------------------------------------Script name - Import-MailPublicFoldersForMigration.ps1Description - This script needs to be run remotely against the Exchange Online server (Exchange 2013). Run the Import-MailPublicFoldersForMigration.ps1 to import the list of mail-enabled public folders from on-premise Active Directory in the the XML file generated by the Export-MailPublicFoldersForMigration.ps1.Usage - NOTE - Before running the script, copy the MailPublicFolders.strings.psd1 file in the same directory as the Import-MailPublicFoldersForMigration.ps1 script..\Import-MailPublicFoldersForMigration.ps1 [path to mail public folder xml]• Path to mail public folder XML equals the file name and path of the mail-enabled public folder XML file generated by the Export-MailPublicFoldersForMigration.ps1 script.------------------------------------------------------------------------------------------------------------------------Script name - Import-MailPublicFolders.ps1Description - This script needs to be run against the remote Exchange 2013 server to import mail public folder objects to the local Active Directory. Use this script for configuring cross-premise public folder access between two Exchange 2013 environments.Usage - Import-MailPublicFolders.ps1 -Credential [credential] -ToCloud• Credentials parameter specifies the tenant admin credentials. If running this script as part of a scheduled task, store these credentials in a variable and pass is to the script as follows Import-MailPublicFolders.ps1 -Credential $credentialVar -ToCloud• ToCloud is an optional parameter. Specify this only if your public folders are hosted on-premise and are configured for cross-premise access by cloud users.------------------------------------------------------------------------------------------------------------------------Script name - Import-PublicFolderMailboxes.ps1Description - This script needs to be run on the on-premise Exchange server to import public folder mailbox objects from cloud to the on-premise Active Directory. Use this script for configuring cross-premise public folder access between two Exchange 2013 environments or between Exchange 2007/2010 on-premise and Exchange 2013 cloud environment.Usage - Import-PublicFolderMailboxes.ps1 -ConnectionUri [cloud url] -Credential [credential]• ConnectionUri parameter is the Connection Uri to the O365 server. In most cases, the value for this will be https://outlook.office365.com/powerShell-liveID• Credentials parameter specifies the tenant admin credentials. If running this script as part of a scheduled task, store these credentials in a variable and pass is to the script as follows Import-PublicFolderMailboxes.ps1 -ConnectionUri [cloud url] -Credential $credentialVar