Get list of users who has forwarding form OU:
Get-mailbox -DomainController dc01.test.local -OrganizationalUnit "test.local/Office/" | select DisplayName,ForwardingAddress | where {$_.ForwardingAddress -ne $Null}
Get-mailbox -DomainController dc01.test.local -OrganizationalUnit "test.local/Office/" | select DisplayName,ForwardingAddress | where {$_.ForwardingAddress -ne $Null}
No comments:
Post a Comment