Jump to content

Recommended Posts

Posted

I am well aware as to how to look at a mailbox and see who has "Send As" permissions, but I want to do it the other way and can't find anything;

 

I want to know how I find out all the mailboxes a particular user has "Send As" permission on. I assume it is possible. Can anyone help please?

 

Thank you

 

Stuart

Posted

Hmm. Ok. Let's try a different approach.

 

How about this:

 

Get-Mailbox -Server “exchangeserver” | Get-MailboxPermission | where { ($_.AccessRights -eq “SendAs”) -and -not ($_.User -like “NT AUTHORITY\SELF”) }

Posted

My fault - wrong syntax.

 

Get-Mailbox -Server “exchangeserver” | Get-MailboxPermission | where { ($_.ExtendedRights -like “Send”) -and -not ($_.User -like “NT AUTHORITY\SELF”) }

Posted

I'm a bit stuck then! Haven't got access to an Exchange box to check out my PS.

 

Just to check, and sorry for being patronising, but you are using Exchange Management Shell and not just a powershell window?

Posted
Yes I am. And don't worry about checking things like that, I think most of us have been around long enough to realise you shouldn't assume anything at all!
Posted
In Exchange Management console, I highlighted our "office" mailbox, then clicked on "Manage Send As Permission" and added jnorman to it. I would now like to see if jnorman has that permission over any other mailboxes. I hope that's clear. Sorry if not....
Posted

Hmmm... how about this:

 

Get-Mailbox -Server “exchangeserver” | Get-MailboxPermission | where { ($_.User -like “domain\jnorman") }

 

Does that list anything?

Posted

How odd... it should list something.

 

Get-Mailbox -Server “exchangeserver” | Get-MailboxPermission

 

Does that give any output at all? There should be lots...

Posted

I still haven't managed to get to a server to test it... but I think this should work:

 

Get-Mailbox -server "MyExchangeServer" | Get-ADPermission | where {($_.ExtendedRights -like “*Send-As*”) -and ($_.IsInherited -eq $false) -and -not ($_.User -like “NT AUTHORITY\SELF”)} | FT -Wrap

 

Let me know...

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...