Microsoft Exchange 2013 Public Folders Directory Sync Support Scripts

Language:
English
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.
  • Note:There are multiple files available for this download.Once you click on the "Download" button, you will be prompted to select the files you need.
    Version:

    15.00.1017.003

    File Name:

    DirSync\Import-MailPublicFolders.ps1

    DirSync\Import-PublicFolderMailboxes.ps1

    DirSync\MailPublicFolders.strings.psd1

    Export-MailPublicFoldersForMigration.ps1

    Import-MailPublicFoldersForMigration.ps1

    Date Published:

    16/09/2014

    File Size:

    40 KB

    31 KB

    3 KB

    11 KB

    11 KB

      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
  • Supported Operating System

    Windows Server 2003 Service Pack 2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2

      • 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
    • 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.ps1 Description - 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.ps1 Description - 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.ps1 Description - 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.ps1 Description - 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
Site feedback
Microsoft

Which category would you like to give web site feedback for?



Rate your level of satisfaction with this web page today:

Comments:

Submit