From: mike on
Hello,

I need script to Exchange Server 2007, that hide mailboxes where Forwarding
Address is set. Can someone help me? Thanks


From: Rich Matheisen [MVP] on
On Tue, 29 Jun 2010 08:50:17 +0300, "mike" <a(a)a.aa> wrote:

>Hello,
>
>I need script to Exchange Server 2007, that hide mailboxes where Forwarding
>Address is set. Can someone help me? Thanks
>

All on one line:
get-mailbox -resultsize unlimited | where {$_.forwardingaddress -ne
$null} | set-mailbox -HiddenFromAddressListsEnabled:$true
---
Rich Matheisen
MCSE+I, Exchange MVP
From: mike on
thanks

"Rich Matheisen [MVP]" <richnews(a)rmcons.com.NOSPAM.COM> wrote in message
news:c40l26d862psushb7isp0s81qv6ckvna4u(a)4ax.com...
> On Tue, 29 Jun 2010 08:50:17 +0300, "mike" <a(a)a.aa> wrote:
>
>>Hello,
>>
>>I need script to Exchange Server 2007, that hide mailboxes where
>>Forwarding
>>Address is set. Can someone help me? Thanks
>>
>
> All on one line:
> get-mailbox -resultsize unlimited | where {$_.forwardingaddress -ne
> $null} | set-mailbox -HiddenFromAddressListsEnabled:$true
> ---
> Rich Matheisen
> MCSE+I, Exchange MVP