Find Exchange mailboxes with the same manager

In previous post we described how to remove Team Calendar from Microsoft Outlook 2010 or 2013

Remove Team Calendar from Outlook

 

 

We wrote that team calendars are created from properties of user account in Active Directory, where you can select Manager for any AD account.

When you have the same manager as other AD account (user), you will see in Outlook Team Calendar with users who have the same manager as you.

If you don’t have to remove Outlook Team Calendar, you can check for mailboxes with same manager, and clean them if it’s wrong manager.

Below we present how to find mailboxes and mailboxes manager.

 

To find mailboxes with the same manager John VIP, you can use below command.
As a result you will get all mailboxes having John VIP as a manager.

Run this command in Exchange Management Shell:

Get-User -ResultSize unlimited | where {$_.manager.name -eq "John VIP"} | select name, recipienttype, RecipientTypeDetails

Continue reading

Remove Team Calendar from Outlook

Outlook 2010 introduced a new feature:  Team Callendar.  Team Calendar is created automatically  based  on fields ‘Manager’ , ‘Direct Reports’ from AD.

Organization

 

Automatic configuration of this feature is very convenient. The problem appears when you do not want to see these calendars in Outlook. So we’ll have a little work.

 

Disable Team Calendar for single user

For single user simply disable this feature directly in Outlook. Expand ‘Calendar Groups‘ and deselect ‘Show Team Calendar‘, ‘Show Manager’s Team Calendar‘.

 

kal4

 

 

If we want to avoid user’s ability to manage these functions and permamently disable feature we can use Registry Editor.

So fire up regedit and create folowing  DWORD key:

Continue reading