• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

Powershell Script required for exchange 2010

Morning Powershell Gods

I need a script to to be able to run against an exchnage user to see what access they have to other users mailboxes please.

Thanks chums

Si
0
cybersi
Asked:
cybersi
  • 3
  • 2
1 Solution
 
cybersiAuthor Commented:
Just had a thought maybe i need 2 scripts

1. for send access
2. for full access

thanks again

Si
0
 
EvilKnievelCommented:
To check which mailboxes a user has full access to you can use the following ems cmd:

ForEach ($mbx in (Get-Mailbox -Resultsize Unlimited | Select Identity)) {Get-MailboxPermission $mbx.Identity -User fill in username here| ? {$_.AccessRights -match "FullAccess" -and $_.IsInherited -eq $False} | Select Identity}

For Send As rights:
ForEach ($mbx in (Get-Mailbox -Resultsize Unlimited | Select Identity)) {Get-MailboxPermission $mbx.Identity -User fill in username here| ? {$_.AccessRights -match "SendAs" -and $_.IsInherited -eq $False} | Select Identity}
0
 
cybersiAuthor Commented:
Absolutley Brilliant!!

One question - is it possible to run a script against the entire exchange database for all users that exports to a csv file again for both Send and full permissions?

Thanks EvilKnievel (great username by the way)

Simon
0
 
cybersiAuthor Commented:
No Problem I'll post another thanks for answering the first question bud
0
 
EvilKnievelCommented:
Hello Simon,
sorry for my late reaction, i was away for a few days.
Glad you like my username btw :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

NEW Internet Security Report Now Available!

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out this quarters report on the threats that shook the industry in Q4 2017.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now