powershell exchange 2007 System.DirectoryServices.ActiveDirectoryRights[]

Posted on 2014-08-23
Last Modified: 2014-08-23
I am trying to get the mailboxes and make sure they have send as access to each of their own mailboxes. When doing so running this command "get-mailbox -server "someserver" | Get-ADPermission | where {($_.ExtendedRights -like "*Send-As*") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF")} | export-csv c:\temp\somsserver.csv -nti" I get valid datra with the exception of these two columns below. Can anyone tell me what am I doing and how can I get the userrights and extended rights rather than what I am receiving below, thanks

AccessRights                                                        ExtendedRights
System.DirectoryServices.ActiveDirectoryRights[]      Microsoft.Exchange.Configuration.Tasks.ExtendedRightIdParameter[]
System.DirectoryServices.ActiveDirectoryRights[]      Microsoft.Exchange.Configuration.Tasks.ExtendedRightIdParameter[]
System.DirectoryServices.ActiveDirectoryRights[]      Microsoft.Exchange.Configuration.Tasks.ExtendedRightIdParameter[]
Question by:techdrive
    LVL 40

    Accepted Solution

    get-mailbox -server "someserver" | Get-ADPermission | where {($_.ExtendedRights -like "*Send-As*") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF")} | Select User,Identity,@{N="AccessRights";E={$_.AccessRights}},@{N="ExtendedRights";E={$_.ExtendedRights}}  | export-csv c:\temp\somsserver.csv -nti

    Open in new window


    Author Comment

    Excellent thanks

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
    Get an idea of what you should include in an email disclaimer with these Top 5 email disclaimer tips.
    In this video we show how to create a mailbox database 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 Servers >> Data…
    This video discusses moving either the default database or any database to a new volume.

    779 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

    16 Experts available now in Live!

    Get 1:1 Help Now