Quantcast
Channel: Exchange Server 2013 - Setup, Deployment, Updates, and Migration forum
Viewing all articles
Browse latest Browse all 7129

Trying to show all RemoteRoutingAddress thats different from *.mail.onmicrosoft.com

$
0
0

I need to see all remote-mailboxes that have an address other than *.mail.onmicrosoft.com. Here is what I tried to use but its only showing those that have the .mail.onmicrosoft.com. and not what I need.

Get-remotemailbox -resultsize unlimited | where-object {$_remoteroutingaddress -notlike "*.mail.onmicrosoft.com"}

using this command seems to be only showing the ones that have .mail in the routing address.

Thanks

STE






Stephen Ellis


Viewing all articles
Browse latest Browse all 7129

Trending Articles



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