Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Powershell Script required for exchange 2010

Posted on 2013-11-15
5
Medium Priority
?
277 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 1500 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

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

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

971 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