Hi Jim,
To remove the additional mailboxes from your Outlook client, you need to change the permissions that were initially set via the PowerShell script. Since you're an admin who had granted yourself access to all user mailboxes, these mailboxes are automatically added to your Outlook profile due to the permission settings.
Here's a step-by-step guide on how to resolve this:
- Revoke Mailbox Permissions:
- Open the Exchange Management Shell as an administrator.
- You need to run a PowerShell command to remove your full access permissions from each mailbox. The command typically looks like this:
Remove-MailboxPermission -Identity [User's Mailbox] -User [Your Admin Account] -AccessRights FullAccess -InheritanceType All
```
- Replace **`[User's Mailbox]`** with the mailbox identity and **`[Your Admin Account]`** with your admin account.
- If you have a large number of mailboxes, you might want to automate this with a script that iterates over all user mailboxes.
1. **Automate the Process for Multiple Mailboxes:**
- If you want to revoke access for all mailboxes, use a script like this:
```powershell
Get-Mailbox -ResultSize unlimited | Remove-MailboxPermission -User [Your Admin Account] -AccessRights FullAccess -InheritanceType All -Confirm:$false
```
- Be careful with this script as it will remove your access to all mailboxes.
**Update Your Outlook Client:**
- Once the permissions are revoked, open your Outlook client.
- The mailboxes might not disappear immediately. To speed up the process, you can restart Outlook or even reboot your computer.
- If the mailboxes still appear, you may need to remove your profile and re-add it:
- Go to Control Panel > Mail > Show Profiles.
- Select your profile and choose “Remove.”
- Click “Add” to create a new profile and then set up your account again.
**Check Auto-Mapping:**
- Auto-mapping might automatically add mailboxes for which you have full access. Ensure that when you remove permissions, auto-mapping is also disabled. This usually is taken care of by the above scripts, but it's good to be aware of it.
**Alternative Method:**
- If you do not wish to use PowerShell or have difficulties with it, you might consider reaching out to Microsoft support or a more experienced IT professional for assistance, especially considering you are a part-time admin.
Remember, modifying mailbox permissions can impact your ability to support users. Ensure that you still have a way to access these mailboxes if needed for administrative purposes.
Additionally, always verify and double-check PowerShell scripts, especially those affecting multiple users, to prevent unintended consequences.
Hope this answer can help you with your issue.