Solved

Powershell Script required for exchange 2010

Posted on 2013-11-15
5
274 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In previous parts of this Nano Server deployment series, we learned how to create, deploy and configure Nano Server as a Hyper-V host. In this part, we will look for a clustering option. We will create a Hyper-V cluster of 3 Nano Server host nodes w…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

738 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