Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Getting a report with hidden users

$
0
0

Hi Guys,

Exchange 2010

I am trying to find all users that are hidden in exchange and that are forwarding emails to others. 

Or if you have something better to find disabled users forwarding email will help as well.

so far this is what I have:

$outputfile =  "C:\scripts\usersreport.txt"

Get-Mailbox -ResultSize unlimited |Where{$_.HiddenFromAddressListsEnabled -eq $true}  > $outputfile

 

Let me know how can I add the email forwarding portion

 

thanks


Viewing all articles
Browse latest Browse all 8583

Trending Articles