Albert Widjaja
asked on
Powershell Exchange - How to list all mailboxes Full Access permission from a particular user name ?
Hi people,
I wonder if anyone here can share some Powershell script or tips in how to check if my AD user account got Full Permission access in some mailboxes ?
because for compliance reason, I need to audit if the certain AD user account has multiple Exchange mailbox Full access permission or not.
Thanks.
I wonder if anyone here can share some Powershell script or tips in how to check if my AD user account got Full Permission access in some mailboxes ?
because for compliance reason, I need to audit if the certain AD user account has multiple Exchange mailbox Full access permission or not.
Thanks.
ASKER
Thanks Sir,
in my case here I need to know all DOMAIN\User1 mailbox full access across 2850 Exchange mailboxes.
So how do I use that command above ?
in my case here I need to know all DOMAIN\User1 mailbox full access across 2850 Exchange mailboxes.
So how do I use that command above ?
get-mailbox -resultsize unlimited | get-mailboxpermission | where {$_.accessrights -conains 'FullAcess'}
get-MailboxPermission username -filter "accessrights -eq 'FullAccess'" | ft samaccountname, displayname,emailaddress,A ccessRight s | out-file 'c:\temp\FullAccess.csv'
I see I had a type-o - conains, should be -contains, but presumably you'd find that.
Any update? Still need help?
Any update? Still need help?
ASKER
Hi All,
The script doesn't work ?
The script doesn't work ?
get-MailboxPermission MyName -filter "accessrights -eq 'FullAccess'" | ft samaccountname, displayname,emailaddress,AccessRights | out-file 'c:\temp\FullAccess.csv'
A parameter cannot be found that matches parameter name 'Filter'.
+ CategoryInfo : InvalidArgument: (:) [Get-MailboxPermission], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Get-MailboxPe rmission
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Sir,
I just required my own username and certain username not all username.
But yes I'll try it anyway.
I just required my own username and certain username not all username.
But yes I'll try it anyway.
Did my solution work for you?
Hi ITSystemEngineer - do you need further help or help closing the question?
List all mailboxes to which a particular user has Full Access permissions:
PS C:\> Get-Mailbox | Get-MailboxPermission -User vasil
List all shared/user/room/whatever mailboxes to which particular user has Full Access permissions:
PS C:\> Get-Mailbox -RecipientTypeDetails UserMailbox,SharedMailbox -ResultSize Unlimited | Get-MailboxPermission -User vasil
PS C:\> Get-Mailbox | Get-MailboxPermission -User vasil
List all shared/user/room/whatever mailboxes to which particular user has Full Access permissions:
PS C:\> Get-Mailbox -RecipientTypeDetails UserMailbox,SharedMailbox -ResultSize Unlimited | Get-MailboxPermission -User vasil
I believe this answers the question - not sure why the OP never came back.
https://technet.microsoft.com/en-us/library/aa998218%28v=exchg.160%29.aspx?f=255&MSPPError=-2147217396