Exchange 2016 CLI: Can't Accept Pipeline Command when Moving Arbitration Mailboxes
In Exchange Server 2016, the command-line interface (CLI) is a powerful tool for managing and maintaining your messaging environment. However, you may encounter issues when trying to move arbitration mailboxes using the CLI. This article will cover the key concepts, applications, and significance of this topic, as well as provide detailed instructions for moving arbitration mailboxes using the CLI.
Understanding Arbitration Mailboxes
Arbitration mailboxes are special system mailboxes used by Exchange Server to handle various tasks, such as managing mailbox databases, transport queues, and public folders. These mailboxes are hidden from users and are essential for the proper functioning of Exchange Server. It is important to note that arbitration mailboxes should not be managed or modified in the same way as user mailboxes.
The Issue with Moving Arbitration Mailboxes using the CLI
When attempting to move arbitration mailboxes using the CLI, you may encounter the following error:
The operation couldn't be performed because 'CN=,CN=Arbitration Mailboxes,CN=Users,DC=,DC=com' can't accept pipeline input at this time.
This error occurs because arbitration mailboxes cannot be moved using the same pipeline commands as user mailboxes. This is because arbitration mailboxes have different properties and requirements than user mailboxes, and therefore must be moved using a different method.
Moving Arbitration Mailboxes using the CLI
To move arbitration mailboxes using the CLI, you must use the Move-Mailbox cmdlet with the -Identity parameter, rather than the -Identity parameter in a pipeline. For example:
Move-Mailbox -Identity "CN=,CN=Arbitration Mailboxes,CN=Users,DC=,DC=com" -TargetDatabase "CN=,CN=Databases,CN=,CN=InformationStore,CN=,CN=Servers,CN=,CN=,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=,DC=com"
This command will move the specified arbitration mailbox to the target database, without causing the pipeline error. It is important to note that you must specify the full distinguished name (DN) of the arbitration mailbox and the target database, as shown in the example above.
Significance of this Topic
Understanding how to move arbitration mailboxes using the CLI is essential for managing and maintaining a healthy Exchange Server environment. By being able to move arbitration mailboxes using the CLI, you can save time and resources, as well as ensure that your Exchange Server is running smoothly and efficiently.
References
- Move mailboxes between databases
- Move arbitration mailboxes
- Mailbox moves in Exchange 2016 and Exchange 2019
References include Microsoft documentation on mailbox migration, moving mailboxes between databases, and mailbox moves in Exchange 2016 and Exchange 2019. These resources provide detailed information on the concepts and procedures covered in this article.
This article has provided a detailed explanation of the issue with moving arbitration mailboxes using the CLI in Exchange Server 2016, as well as a solution for moving arbitration mailboxes using the CLI. By understanding this topic, you can ensure that your Exchange Server is running smoothly and efficiently, and can save time and resources by being able to move arbitration mailboxes using the CLI.