?
Solved

powershell exchange 2007 System.DirectoryServices.ActiveDirectoryRights[]

Posted on 2014-08-23
2
Medium Priority
?
404 Views
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[]
0
Comment
Question by:techdrive
2 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 2000 total points
ID: 40280997
Try..
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

0
 

Author Comment

by:techdrive
ID: 40281056
Excellent thanks
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
Loops Section Overview
Suggested Courses

864 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