Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Retrieve all Inbox Rules from my tenant (Office365)

$
0
0

Hi everybody,

Is there any way to get all Inbox Rules from my users in my tenant?

For example, I try to run the cmdlet "Get-Mailbox user@domain.com | Get-InboxRule" but it fails with the below error message:

 + CategoryInfo          : NotSpecified: (:) [Get-InboxRule], ManagementObjectNotFoundException
 + FullyQualifiedErrorId : [Server=BL2PR04MB036,RequestId=b26f89c7-f38a-4265-822d-9f8b9da48e98,TimeStamp=17/09/2013
 02:04:05 p.m.] D4CD8C92,Microsoft.Exchange.Management.RecipientTasks.GetInboxRule
 + PSComputerName        : pod51041psh.outlook.com

But if I use the cmdlet "Get-InboxRule -Mailbox user@domain.com" I got the expected result.

Thanks in advance,


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>