GCTTechs
asked on
Powershell to find Mailbox permissions
Server: Exchange Server 2010 SP3
I'm looking for a Powershell script to determine which mailboxes a certain user (UserA) has Full permissions to, then export the results to a CSV.
I'm looking for a Powershell script to determine which mailboxes a certain user (UserA) has Full permissions to, then export the results to a CSV.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The above is correct. When you are using the -like switch you need to have an asterisk somewhere in the value. You can use the -eq switch which will not require the asterisk "*" but if the results are not exactly the same as the value it does not show anything.
This is why i like to use the "-like" switch incase there are spaces or something else that i missed it will pick it up.
Will.
This is why i like to use the "-like" switch incase there are spaces or something else that i missed it will pick it up.
Will.
ASKER
? {$_user -like "Domain\username*
I leave the ? and enter my domain\username followed by the * ?