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

Shared mailbox and calendar

I have an exchange 2010. I need to export using the Powershell to csv file the follwoing
- all  shared mailboxes
-shared calendars

How can I do so
1 Solution
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
You can do the shared mailboxes but what do you exactly mean by shared calendars and what information are you planning to export ?

Get-Mailbox | Where {$_.RecipientTypeDetails -Like "Shared*"}

- Rancy
LidkaAuthor Commented:
I am looking for

-name of all  users who are sharing mailboxes and calendars and their office location
You have to define SHARING....

Do you mean, shared their INBOX, Calendar, etc? That is just permissions.

I did something like that once. I was able to list any permissions that weren't inherited.
I think it gets ugly if I recall. You have to list each folder's permissions.
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

LidkaAuthor Commented:
for the purpose of office 365 I need to list all users who share their mailbox or their calendar
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
It would be very intense something like

Get-Mailbox "Any one user ID" | Get-MailboxFolderPermissions | FL

- Rancy
If you are looking for a List of all Exchange mailboxes on which others users have  access then you can try this script.. Script will list the mailbox and the users who have access to that mailbox and the type of access.

Get-Mailbox -ResultSize Unlimited | Get-MailboxPermission | where {$_.user.tostring() -ne "NT AUTHORITY\SELF" -and $_.IsInherited -eq $false} | Select Identity,User,{$_.AccessRights} | Export-Csv -NoTypeInformation mailboxpermissions.csv

Open in new window

If you want to get a report on calendar folder permissions then you can checkout the script from following article..
Ref : http://www.onesimplescript.com/2012/01/auditing-outlook-folder-permissions.html
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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