Skip to content
Creates a new shared mailbox, security groups for full access and send-as permission and adds the security groups to the shared mailbox configuration
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Create-TeamMailbox.ps1
LICENSE.md
New-TeamMailbox.ps1
NewTeamMailbox.zip
README.md
settings.xml

README.md

New-TeamMailbox.ps1

Creates a new shared mailbox, security groups for full access and send-as permission and adds the security groups to the shared mailbox configuration.

Description

This scripts creates a new shared mailbox (aka team mailbox) and security groups for full access and and send-as delegation. Security groups are created using a naming convention.

Parameters

TeamMailboxName

Name attribute of the new team mailbox

TeamMailboxDisplayName

Display name attribute of the new team mailbox

TeamMailboxAlias

Alias attribute of the new team mailbox

TeamMailboxSmtpAddress

Primary SMTP address attribute the new team mailbox

DepartmentPrefix

Department prefix for automatically generated security groups (optional)

GroupFullAccessMembers

String array containing full access members

GroupFullAccessMembers

String array containing send as members

Examples

.\New-TeamMailbox.ps1 -TeamMailboxName "TM-Exchange Admins" -TeamMailboxDisplayName "Exchange Admins" -TeamMailboxAlias "TM-ExchangeAdmins" -TeamMailboxSmtpAddress "ExchangeAdmins@mcsmemail.de" -DepartmentPrefix "IT"

Create a new team mailbox, empty full access and empty send-as security groups

Note

THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.

TechNet Gallery

Download and vote at TechNet Gallery

Credits

Written by: Thomas Stensitzki

Stay connected:

For more Office 365, Cloud Security, and Exchange Server stuff checkout services provided by Granikos

You can’t perform that action at this time.