techdrive
asked on
Output full access permissions powershell exchange
Greetings I am trying to get the full access permission of a mailbox and have it listed out with the following output.
mailbox name
domain\username
domain\username
domain\username
mailbox name
domain\username
domain\username
mailbox name
domain\username
mailbox name
domain\username
domain\username
domain\username
mailbox name
domain\username
domain\username
mailbox name
domain\username
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Param ($filename)
$userlist = Import-CSV -Path $filename
Foreach ($user in $userlist)
{
Write $user.Identity >>c:\perms.txt
Get-MailboxPermission $user.Identity | FT User >> c:\perms.txt
Write " " >>c:\perms.txt
}