![]() If you are an Office 365 operated by 21Vianet customer in China, use "". ConnectionUri - The Exchange Online remote PowerShell connection uri.CsvSummaryFile - The file path where sync operations and errors will be logged in a CSV format.Credential - Exchange Online user name and password.This example shows how to use the script with a different URI to connect to Exchange Online and sync mail-public folders from your local deployment. \Sync-MailPublicFolders.ps1 -Credential (Get-Credential) -CsvSummaryFile:sync_summary.csv -ConnectionUri:"" Note that the script outputs a CSV file listing all operations executed, and possibly errors encountered, during sync.Įxample 2. This example shows how to sync mail-public folders from your local deployment to Exchange Online. \Sync-MailPublicFolders.ps1 -Credential (Get-Credential) -CsvSummaryFile:sync_summary.csv NOTE - Before running the script, copy the 1 file in the same directory as the Sync-MailPublicFolders.ps1 script file.Įxample 1. Then, using the credentials provided the script will create a session against Exchange Online, which will be used to manipulate O365 Active Directory objects remotely. The script must be executed from local Exchange Management Shell window providing access to mail public folders in the local Exchange deployment. The script will create, update or delete mail-enabled public folder objects on O365 Active Directory based on what exists in the local Exchange deployment. It uses the local Exchange deployment as master to determine what changes need to be applied to O365. This script mail-enabled public folder objects from the local Exchange deployment into O365. ![]()
0 Comments
Leave a Reply. |