Script to see users rights in a mailbox store

Posted on 2012-08-10
Last Modified: 2012-08-10
I can’t seem to get this one right, I have a few scripts for getting specific permissions on a single mailbox but I am trying to design one to see a single users permission to all mailboxes

If I could output the results to a file, even better.

Has anyone have any insight into a script like this?

Question by:mortonmark
    LVL 52

    Assisted Solution

    by:Manpreet SIngh Khatra
    Get-Mailbox | Get-MailboxPermissions -User "UserName" | Fl Name, AcsessRights
    Get-Mailbox | Get-ADPermissions -User "UserName" | Fl Name, ExtendedRights
    - Rancy
    LVL 52

    Accepted Solution



    First command : Get-Mailbox just gives you output for all mailboxes, if issues you can always try with Output for Server or Database such as
    Get-Mailbox -Server "ServerName"
    Get-Mailbox -Database "DatabaseName"

    - Rancy
    LVL 1

    Author Comment

    thanks for the responses. I just did a simple version of both which will work for what i need

    Get-Mailbox | Get-MailboxPermission -User "username"| Export-Csv c:\test.csv


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now