Get-InboxRule 'MoveToFolder' and 'CopyToFolder' property value is ambiguous

DH L 1 Reputation point
2021-01-18T07:43:41.857+00:00

I found the below question that was posted several years ago.

Powershell/Office 365 - Get-InboxRule 'MoveToFolder' and 'CopyToFolder' property value is ambiguous

This problem still exists in the newest Exchange / Office365. This make Get-InboxRule rather useless as many users use rules to auto copy/move emails to folders.

The only way to get the comprehensive details of mailbox folder is by Get-MailboxStatistics. If we able to combine the results of these two cmdlets, we might overcome this design flaw.

I open this thread to see if anyone has a comment.

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,345 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,362 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lucas Liu-MSFT 6,161 Reputation points
    2021-01-19T03:05:18.437+00:00

    Hi @DH L
    I have done a lot of tests and research on "Get-InboxRule", but I have not found any way to get the full path of the parameters "MoveToFolder" and "CopyToFolder". It’s by design.
    Also, according to your tips. I also tested the combination of "Get-InboxRule" and "Get-MailboxStatistics". But according to my research, the object referred to in "Get-InboxRule" is the inbox rule, and "Get-MailboxStatistics" refers to the mailbox. So many attempts have failed.
    I will continue to investigate whether there are other ways to get the full path of "MoveToFolder" and "CopyToFolder".

    In addition, the product group will select the feature with higher votes from "UserVoice" and update it to Exchange. And I create a new post about get the full path of “MoveToFolder” and “CopyToFolder”. You could go directly to vote.
    The post link: After running the "Get-Inbox" command line, the parameters "MoveToFolder" and "CopyToFolder" show the complete path.

    ----------

    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.