powershell
how to set reviewer access rights example:
add-MailboxFolderPermission -Identity daniel:\calendar -User orly -AccessRights reviewer
How To Find Users With Specific Email Addresses \ Domain Using Exchange Shell
This Exchange cmdlet will help you find users with
specific SMTP domain address, this is useful when you want to know how
many users using this specific domain.
get-recipient -ResultSize unlimited | where {$_.emailaddresses -match “test.local“} | select name,emailaddresses
If you need to find just an email address add name@test.local to the line.
get-recipient -ResultSize unlimited | where
{$_.emailaddresses -match “test@test.local“} | select
name,emailaddresses > c:\out.txt