Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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.

Credits

Written by: Thomas Stensitzki

Stay connected

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

About

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

Topics

Resources

License

Releases

No releases published

Packages

No packages published