Import-MailPublicFolders
Download the latest release: Import-MailPublicFolders.ps1
Syntax
Import-MailPublicFolders.ps1
[-Credential <PSCredential>]
[-ToCloud]
[-ConnectionUri <String>]
[-ScriptUpdateOnly]
[-SkipVersionCheck]
[<CommonParameters>]
Parameters
-ScriptUpdateOnly(optional): Only updates the script to the latest released version without performing any other actions.-SkipVersionCheck(optional): Skips the automatic version check and script update.
Usage
For usage details, please see Configure Exchange Online public folders for a hybrid deployment | Microsoft Learn.