locked
Powershell Script to extract all Users Mailbox Permissions RRS feed

  • Question

  • Hi there, I am looking to create a PS script to extract All users, with their associated Mailbox permissions from within Exchange 2007.  Any suggestions?

    Thursday, November 1, 2012 7:52 PM

Answers

All replies

  • Get-Mailbox -ResultSize unlimited | Get-MailboxPermission


    stefan@xperta

    Thursday, November 1, 2012 9:08 PM
  • I would like to find all the users that have permission to someone elses mailbox.

    I currently have the following command, but I would like to filter out the users whose mailbox it actually is

    Get-Mailbox -ResultSize unlimited | Get-MailboxPermission | where { ($_.IsInherited -eq $false) -and
    -not ($_.User -like  "NT AUTHORITY\SELF") }| Select Identity, User, AccessRights

    Example:

    Identity                                User                                    AccessRights

    .../Users/John Doe                ....\jdoe                              {FullAccess, ReadPermission}

    .../Users/John Doe                .....\jsmith                          {FullAccess, ReadPermission}

    Thursday, June 5, 2014 9:19 PM