Solved

Powershell Script required for exchange 2010

Posted on 2013-11-15
5
268 Views
Last Modified: 2013-11-18
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
Comment
Question by:cybersi
  • 3
  • 2
5 Comments
 

Author Comment

by:cybersi
ID: 39650629
Just had a thought maybe i need 2 scripts

1. for send access
2. for full access

thanks again

Si
0
 
LVL 8

Accepted Solution

by:
EvilKnievel earned 500 total points
ID: 39650774
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
 

Author Comment

by:cybersi
ID: 39650925
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
 

Author Comment

by:cybersi
ID: 39655800
No Problem I'll post another thanks for answering the first question bud
0
 
LVL 8

Expert Comment

by:EvilKnievel
ID: 39656090
Hello Simon,
sorry for my late reaction, i was away for a few days.
Glad you like my username btw :)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
In this video we show how to create an Address List 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 Organization >> Ad…
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…

746 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

11 Experts available now in Live!

Get 1:1 Help Now